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.
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
Please log in to shout.


Members Online: IskatuMesk