#16
i think i giot an idea, never tested...
hey man, i can help, ,maybe:its about the house system, entering and exiting the houses can be like this:
create a new unit: house
this unit is walkable (or not, its up to ya)
nou put a medium region at the front door
and put a region that represents the entire house
then build walls(doodads) and stuff righ where the house is going to be.
now heres the magic:
u will put the doodas "INSIDE THE WALKABLE HOUSE", and the action is that when the unit enters the front door region, remove the house. when u remove the house, the doodads tha where hidden under the house will show up. while inside the house, the only things visible will be EVERYTHING u put inside the house, but the house itself, the unit, , will not be there.
when the unit leaves the house, another region that i forgot to mention will be there IN FRON OF THE "frontdoor" REGION, so that i doesnt happens BUGS. when the unit lleaves, hes goung to pass thru the region and this region will have a triger in it that activates an action that makes the house unit appear back. theres gonna be a bug (i think), cause, where will the house appear? in the ENTIRE HOUSE REGION, thats why its there. and the WALKABLE ability can be turned on in the stats of the unit, when creating it. the walkable ability makes the objects inside the house be able to stay right there when u come back., so, i think i might be like this:
trigger: entering house
Event> a unit enters region
conditions> entering unit equal to (whatever u want)
Action> Variable- set House unit= houseVariable
unit- remove <house unit> from the game
Trigger: leaving house
Event> a unit enters region
Conditions> entering unit equal to <someunit>
Action> create 1 houseVariable at the center of
HouseRegion blah blah blah...
thats it, any questions or bugs related to this,
[email protected]