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
Was gerade angesagt ist:
Word Association (41 User)
AoKTS updates (21 User)
TIW 2020 Map votes (12 User)
CBA PathBlood 1.8.0 (12 User)
1.6 reward campaing (10 User)
CBA HERO v18 (10 User)
Any old Zone players around? (6 User)
Aktivste Beiträge der letzten Woche:
Restore Problem (12 Beiträge)
If there is chance to advertise ... (8 Beiträge)
AOM Error "Unsupported Grap... (8 Beiträge)
Which AI can play DE Islands cus... (7 Beiträge)
Old VCOM/Tournament forums (6 Beiträge)
Can't launch AoM T (5 Beiträge)
Torneo 1v1 HUMAITA / HUMAITA 1... (5 Beiträge)
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