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.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: moiseslhines