Trigger expert help!

 Mulon


Posted 20 April 2012 - 5:26 pm
Hi what i need to do is a conquerable base between 2 teams. When an unit stands in an area for 5 sec, buildings of that area swith team. That to be done for both teams for 5 bases. Also if 2 units of differents teams are in that area the buildings wont switch until is conested.
If you are interested contact me.

the map is Empire Wars
Mulon
Link | Reply | Quote
 QuackQuackIvI_F


Edited 20 April 2012 - 6:22 pm by QuackQuackIvI_F
This doesn't sound that hard... just play around with it for a little bit and you'll figure it out. In a couple weeks if you still can't do it post the link here and I'll do it.



Link | Reply | Quote
 Mulon


Posted 9 August 2012 - 12:17 am
saw the map but i cant figure out how you did it, too many triggers. Can you help me?
Link | Reply | Quote
 BF_Basse


Posted 9 August 2012 - 1:41 am
Trigger 1: Take Area
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


Link | Reply | Quote
[1]
Displaying 1 - 4 out of 4 posts
Forum Jump:
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests

Aktivste Beiträge der letzten Woche: