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.
[02:36 pm]
Wing Zero -- Bop em
[02:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: jun3hong