Age of Empires II (2013)

Age of Empires II (2013)

Advance to the Steam Age
Explore new maps, multiplayer scenarios, and user created campaigns. Or reinvent your game experience with new sounds, visuals, AI, units, and more! Ready to share your creations with the world? Upload right from the map editor, or collaborate with friends to create a masterpiece collection.
[PIGZ]MrTango 20 Jun, 2019 @ 10:07am
Reset a condition value to "0"
Is it possible in the scenario editor to reset a trigger's condition value back to "0". So that, you have to re-fulfil the condition (if it were set to repeating) to get the reward again.
< >
Showing 1-5 of 5 comments
Jineapple 12 20 Jun, 2019 @ 11:40pm 
Not sure if this is the best way, but you could try making it a repeating trigger, which disables itself when fired (as the last effect), and another trigger to reenable it.
[PIGZ]MrTango 21 Jun, 2019 @ 5:35am 
I mentioned the trigger is already set to repeating.

My condition is kill 1 farm, but upon the trigger repeating the condition does not require a new kill. Hence the condition is not resetting to 0, to require a new kill.
Last edited by [PIGZ]MrTango; 21 Jun, 2019 @ 5:35am
Jineapple 12 22 Jun, 2019 @ 1:52am 
What condition did you use exactly? "Destroy Object" works for one specific object, not all objects of that type, so the condition remains fulfilled of course. It depends on what exactly you're trying to achieve, but this doesn't sound possible without multiple triggers for farms (either using destroy object for each of them, or "objects in area"/"own fewer objects"
[PIGZ]MrTango 22 Jun, 2019 @ 2:18pm 
Not even using php or other language tricks?
[PIGZ]MrTango 22 Jun, 2019 @ 3:04pm 
"own fewer objects" doesn't reset, nor does "earn razings" or both together.

I have found a guide for "paid to kill : Laws of the Map Editor #8: Accumulate Attribute by CrystalCrown" but I want to specify what is killed; i.e. farm for food, trade for gold, everything else for nothing.
Last edited by [PIGZ]MrTango; 22 Jun, 2019 @ 3:30pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50