Gate Control
Jun 21 2008, 5:44 pm
By: noob4life  

Jun 21 2008, 5:44 pm noob4life Post #1



how do i set a trigger for lowering gates... and keeping them up when i want them too. so like they have to kill something before the gate goes down... can someone tell me what i have to do to make it work...



None.

Jun 21 2008, 5:51 pm Falkoner Post #2



Disabling the doodad state of a door will make it go down, enabling it will make it go up, it's that simple.



None.

Jun 21 2008, 6:53 pm y10k Post #3



All players bring at least 1 men to gate / disable doodad state for anyunit for P12 at gate.
All players bring at most 0 men to gate / enable doodad state for anyunit for P12 at gate.



None.

Jun 21 2008, 7:08 pm Kaias Post #4



Quote from y10k
All players bring at least 1 men to gate / disable doodad state for anyunit for P12 at gate.
And the condition for having killed the unit you want before it opens.



None.

Jun 21 2008, 7:18 pm y10k Post #5



ok nothing, it is just too late.



None.

Jun 21 2008, 11:15 pm Brontobyte Post #6



Triggers:

Trigger("All players"){
Conditions:
Score("Current Player", Kills, At least, 1);
Bring("Current Player", "Men", "Gate", At least, 1);

Actions:
Set Score("Current Player", Set To, 0, Kills);
Set Doodad State("All players", "Right Upper Level Door", "Gate", disabled);
Preserve Trigger();
Comment("Open");
}

//-----------------------------------------------------------------//

Trigger("All players"){
Conditions:
Bring("Current Player", "Men", "Gate", Exactly, 0);

Actions:
Set Doodad State("All players", "Right Upper Level Door", "Gate", enabled);
Preserve Trigger();
Comment("Close");
}

//-----------------------------------------------------------------//

Where it says "Right Upper Level Door", you can just switch that out for the exact name of the doodad you want to have.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:52 pm]
Symmetry -- https://staredit.net/site/members/0/minerals/asc/ why does it sort by ascending and not descending :hurr: and how did that guy get -963 minerals?
[05:47 pm]
Symmetry -- TFW you go to donate to SEN but you can't anymore :(
[05:12 pm]
Symmetry -- The LLMs are coming for our mineral stocks!
[03:33 pm]
UndeadStar -- AI is training its credibility on SEN. Not bad, but hopefully it will soon learn to not capitalize the first letter of every word in a title lol.
[09:26 pm]
Symmetry -- Thanks :wob:
[07:42 pm]
ihjel -- Symmetry
Symmetry shouted: Here's them animated: https://i.imgur.com/DO0k3lX.mp4
That looks sweet
[2026-10-23. : 1:18 pm]
Oh_Man -- anyone seen the new mass effect 5 trailer? feelsbadman
[2026-10-22. : 10:31 pm]
Ultraviolet -- 🔥
[2026-10-22. : 7:50 pm]
Symmetry -- Here's them animated: https://i.imgur.com/DO0k3lX.mp4
[2026-10-22. : 7:50 pm]
Symmetry -- They use the spire's iscript
Please log in to shout.


Members Online: l)ark_ssj9kevin, Symmetry, Omen