Page 1 of 1

Zoning into a house

Posted: Wed Oct 25, 2017 3:45 am
by Ememjr
can someone tell me where in the code i would add the code to load house items and spawn them into the house,

i have some code written but i can't seem to weed through where the best place to execute my code at that will initiate the loading items list from the db and populate the zone,

Re: Zoning into a house

Posted: Wed Oct 25, 2017 3:18 pm
by Jabantiz
I would do it in the zone server itself, there should be a place where spawn lists are loaded, you could put an if after that to check if it is a housing/guild hall zone then load your items. Quick note you shouldn't skip the normal load as that will give the widget for the door, without it you can't exit the house.

Re: Zoning into a house

Posted: Wed Oct 25, 2017 4:32 pm
by Ememjr
yeah i know about the doors, was thinking of addeding a couple book shelfs in a few of the house zones so that they would be permanent , some of the house lack any by defautl