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 (50 users)
1.6 reward campaing (21 users)
CBA PathBlood 1.8.0 (20 users)
AoKTS updates (20 users)
TIW 2020 Map votes (16 users)
Photos of Voobly Players (13 users)
New Voobly Client 2.7 (11 users)
Most active threads in past week:
Restore Problem (12 posts)
If there is chance to advertise ... (8 posts)
AOM Error "Unsupported Grap... (8 posts)
Which AI can play DE Islands cus... (7 posts)
Old VCOM/Tournament forums (6 posts)
Torneo 1v1 HUMAITA / HUMAITA 1... (5 posts)
🌟 Let's Restart Custom Scenar... (5 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