Im trying to make it so when i move unit to location, it will make door go down, but to make door go up is a tricksituation.
Whats a goodtrigger for that?
None.
trick situation? whatever
i already answerd it @ shoutbox
to open door: disable doodad state
to close: enable doodad state
whatever, the most use it: switch doodad state
PLAYER brings exactly 1 UNIT to X
switch DOODAD STATE for DOOR @ Z
Please report errors in the Staredit.Network forum.
trigger for closing the door is something i need to know too.
None.
Trigger 1: (Doors opening)
Conditions: All players bring at least 1 men to "Door 1".
Actions: Disable doodad state for <door> at "Door 1" for all players. Preserve trigger.
Trigger 2: (Doors closing)
Conditions: All players bring exactly 0 men to "Door 1".
Actions: Enable doodad state for <door> at "Door 1" for all players. Preserve trigger.
(You might need different conditions like if you only want a certain unit or a certain player to open doors, but the actions are the same no matter what. You MUST use "All Players" for the Enable/Disable Doodad State triggers, and MUST preserve the triggers.)
Replace <door> with whichever door you are using, eg. Left Pit Door.
None.
Enable = Closed(Default) Disable = Open
Note that you may want to use a switch so that you know when it's open or closed, rather than just constantly disabling it when the person goes next to it, or enabling it, because that causes glitches with the door animation sometimes.
None.