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.
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
[2024-5-19. : 6:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
Please log in to shout.


Members Online: Dem0n