Community Forums > Voobly Community > Age of Empires II: The Conquerors > Custom Scenario > Scenario Design > Scenario Design Questions > Trigger expert help!
[1]
Displaying 1 - 4 out of 4 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 (82 users)
TIW 2020 Map votes (23 users)
1.6 reward campaing (23 users)
AoKTS updates (22 users)
New CBA Hero now supports HD / D... (19 users)
CBA PathBlood 1.8.0 (17 users)
Photos of Voobly Players (14 users)
Most active threads in past week:
Torneo 1v1 HUMAITA / HUMAITA 1... (49 posts)
🌟 Let's Restart Custom Scenar... (25 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)
When can we get AI in voobly pro... (2 posts)
If you are interested contact me.
the map is Empire Wars
Mulon
Starts: ON
Looping: Yes
Condition: Timer: 5
Condition: Objects in area (you put units near the building)
Effect: Change Ownership (from p2 to p1)
This will however activate as soon as you put units at the building since the timer counts down from start. So 5 seconds after start, the building will be instantly converted if units are put near the building.
To prevent this you need this:
Trigger 1: Units on Area
Starts: ON
Looping: NO
Condition: Objects in area (you put units near the building)
Effect: Activate Trigger: Trigger 2: Take Area
Trigger 2: Take Area
Starts: OFF
Looping: NO
Condition: Timer: 5
Condition: Objects in area (you put units near the building)
Effect: Change Ownership (from p2 to p1)
Effect: Activate Trigger: Trigger 1: Units on Area
However, this will bring another problem. If the units close to the building dies before the building is captured, the trigger is still active. So when the next unit go near the building, the building will instantly convert.
There is a better way, but it involves a lot of triggers and other stuff too