Staredit Network

Staredit Network -> UMS Assistance -> Making Doors open..?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-08-06 at 00:20:37
Sorry for another interruption but i was wondering how i make doors open in game such as the doodad door in installation
Report, edit, etc...Posted by DT_Battlekruser on 2005-08-06 at 00:27:19
Using the trigger SET DOODAD STATE on doors will cause them to open/close.
Report, edit, etc...Posted by UED77 on 2005-08-06 at 00:28:09
Read this excellent tutorial, authored by UED77, and hosted at Starcraft.org.

[/shameless_plug] happy.gif

UED77
Report, edit, etc...Posted by SacredElf on 2005-08-06 at 11:31:17
TRIGGER: Closing the door
CONDITIONS:

‹player› brings ‹quantity› ‹unit› to ‹location›
‹switch› is «set»

ACTIONS:
«Enable» doodad state for ‹door› for «All Players» at ‹location›
«Clear» ‹switch›
Preserve Trigger

TRIGGER: Opening the door
CONDITIONS:
‹player› brings ‹quantity› ‹unit› to ‹location›
‹switch› is «cleared»

ACTIONS:
«Disable» doodad state for ‹door› for «All Players» at ‹location›
«Set» ‹switch›
Preserve Trigger


why are u usin switch's on it?
Report, edit, etc...Posted by UED77 on 2005-08-06 at 12:09:58
If I didn't use a switch, there would be some times when the door is closed already, and the conditions for closing it come true. Then the door jumps open without any intermediaate graphic, and closes. The converse is true for opening a door. Using switches prevents this unnecessary annoyance.

UED77
Report, edit, etc...Posted by SacredElf on 2005-08-06 at 12:48:36
CONDITIONS:

‹player› brings ‹0› ‹unit› to ‹location›

ACTIONS:
«Enable» doodad state for ‹door› for «All Players» at ‹location›
Preserve Trigger

CONDITIONS:
‹player› brings ‹1› ‹unit› to ‹location›

ACTIONS:
«Disable» doodad state for ‹door› for «All Players» at ‹location›
Preserve Trigger

i tought when usin that worked fine too, can u tell if im wrong? so ill start usin ur sistem
Report, edit, etc...Posted by LegacyWeapon on 2005-08-06 at 13:08:07
Without the switch, the door will constantly close when you aren't there and constantly open when you are causing huge problems.
Next Page (1)