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 (63 users)
AoKTS updates (30 users)
Photos of Voobly Players (26 users)
CBA PathBlood 1.8.0 (24 users)
TIW 2020 Map votes (19 users)
Top 5 players of all time (R6) (17 users)
TDII (16 users)
Most active threads in past week:
Can't launch AoM T (6 posts)
Please resume patch development ... (6 posts)
AOM Error "Unsupported Grap... (5 posts)
Cant join voobly to play = Direx... (4 posts)
$200 HEROFEST 1v1 TOURNAMENT by ... (3 posts)
Voobly disappearing without erro... (3 posts)
Voobly crash (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.