Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Controlling doors...
Controlling doors...
Nov 30 2008, 8:49 pm
By: RISKED911  

Nov 30 2008, 8:49 pm RISKED911 Post #1



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.

Nov 30 2008, 8:53 pm Devourer Post #2

Hello

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.

Nov 30 2008, 8:56 pm RISKED911 Post #3



trigger for closing the door is something i need to know too.



None.

Nov 30 2008, 8:56 pm Biophysicist Post #4



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.

Nov 30 2008, 11:06 pm Falkoner Post #5



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.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Oh_Man, lil-Inferno, UndeadStar