Community Forums > Voobly Community > Age of Empires II: The Conquerors > Custom Scenario > Scenario Design > Scenario Design Questions > Anti-Deletes ;?
[1]
Displaying 1 - 6 out of 6 posts
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests
0 members, 1 guests
What's popular right now:
Word Association (51 users)
CBA PathBlood 1.8.0 (25 users)
Most legendary aoe player (24 users)
Devil May Cry (22 users)
New Voobly Client 2.7 (18 users)
Photos of Voobly Players (17 users)
AoKTS updates (12 users)
Most active threads in past week:
Torneo 1v1 HUMAITA / HUMAITA 1... (37 posts)
🌟 Let's Restart Custom Scenar... (24 posts)
If there is chance to advertise ... (7 posts)
AOM Error "Unsupported Grap... (6 posts)
Voobly Rouge Spear on Mac (3 posts)
Hero Tourney Match Schedules (3 posts)
Mod 'v1.6 Game Data' version doe... (3 posts)
I can't remember specifically how the triggers are made. I'll look later in a couple days when I have time. I do know the anti-delete here works flawlessly: [You must login to view link]
I'd also search AOK heaven games more in-depth for scenario designing resources.
Something about creating a horse with every raze and if the horse isn't there when an object is razed the player gets booted...
Trigger: Raze-counter
Starts: ON
Looping: YES
Condition: Accumulate Attribute: 1 Razing
Effect: Tribute: 1 Razing from Player to GAIA
Effect: Activate Trigger: Building Razed
Then a trigger to deactivate the Building Deleted trigger if it was razed:
Trigger: Building Razed
Starts: OFF
Looping: NO
Condition: Timer: 2
Effect: Deactivate Trigger: Building Deleted
This trigger activates the delete-detection trigger:
Trigger: Building Lost
Starts: ON
Looping: NO
Condition: Destroy Object: Desired Object
Effect: Activate Trigger: Building Deleted
If the building was deleted, this trigger will fire:
Trigger: Building Deleted
Starts: OFF
Looping: NO
Condition: Timer: 4
Effect: Punishment for Deleting building
Instead of "Destroy Object" you can use "Own Fewer Objects". This means you can have a "looping" delete-detection when. For example:
Trigger: Building Lost
Starts: OFF
Looping: NO
Condition: Own Fewer Objects: 0 The Accursed Tower (Let's say you start with only 1 tower)
Effect: Activate Trigger: Building Deleted
Effect: Activate Trigger: Re-activate Building Lost
Trigger: Re-activate Building Lost
Starts: ON
Looping: OFF
Condition: Own Objects: 1 The Accursed Tower
Effect: Activate Trigger: Building Lost
I hope this works. It's been a while since I used it last, so there might be something wrong, not sure
You'll also need AOKTS to have razes as an atrribute.
[You must login to view link]
If you're making this scenario for the AOFE expansion you'll need a different version of that though. Just lmk if that's the case/you can't find it.