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.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Zycorax, Oh_Man