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.
[10:02 pm]
Symmetry -- I was really just figuring out how to compile
[10:02 pm]
Symmetry -- I didn't make it do anything
[09:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[08:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[08:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[06:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[03:20 pm]
l)ark_ssj9kevin -- le reddit
[02:55 pm]
Moose -- >reddit :rip2:
[02:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: O)FaRTy1billion[MM], DarkenedFantasies