Staredit Network

Staredit Network -> UMS Assistance -> Help with doors
Report, edit, etc...Posted by Lord-Omega on 2006-08-26 at 13:52:55
ok i cant figure this out, how do i make doors open and close when units get near or leave them, ive looked at all the trigs and cant figure this out, PLEASE HELP ME!!!!
Report, edit, etc...Posted by DT_Battlekruser on 2006-08-26 at 13:58:52
The actions DISABLE/ENABLE DOODAD STATE allow you to open/close doors in a trigger action. When a unit comes to a certain location around a door, open the door. When there are no units in the location, close the door.
Report, edit, etc...Posted by Shadow181 on 2006-08-26 at 22:28:30

Trigger
Description:
How to open doors
Players:
¤ Computer player
Conditions:
¤ Bring("All players", "any unit" atleast 1 @ "door location"
Actions:
¤ Enable doodad @ door location
¤ preserve trigger

-AND (not required, only desirable)-

Trigger
Description:
How to close doors
Players:
¤ computer player
Conditions:
¤ all players bring exactly 0 units @ door location
Actions:
¤ disable doodad @ dor location
¤ preserve trigger

Report, edit, etc...Posted by LegacyWeapon on 2006-08-26 at 23:13:46
http://www.staredit.net/index.php?tutorial=27
You need a switch in your triggers or else the door will open constantly making a bad effect.

It wouldn't be as aesthetically pleasing.
Report, edit, etc...Posted by Lord-Omega on 2006-08-27 at 01:04:55
ok what if the door is a spirit? cause i want to use doors on a ashworld map
Report, edit, etc...Posted by Zeratul_101 on 2006-08-27 at 01:27:34
i really wish people would stop calling SPRITES spirits.

anyhow, SPRITES don't block anything, and they can't be opened/closed either. for it to actually be a proper door, it must be a unit.

for your question:

because the door is a unit, it can be transferred between tilesets. on a similiar note, so can the sprite ermm.gif .
Report, edit, etc...Posted by DT_Battlekruser on 2006-08-27 at 01:44:18
Doors are units and they can be placed on a tileset as a unit. Sprite-doors will not serve any purpose as a pathing blocker and won't be opened/closed by doodad commands.
Report, edit, etc...Posted by Lord-Omega on 2006-08-27 at 08:00:47
ok so how can i make working doors on badlands?
Report, edit, etc...Posted by IsaT on 2006-08-27 at 10:15:56
In starforge -
Units»Doors

In SCMDraft 2 -
Units»Neutral»Doodads

In X-Tra Editors -
Units»Doors

In Staredit -
Impossible except on instalation tileset in doodad palette
Next Page (1)