- Joined
- Jan 3, 2012
- Messages
- 39
Here I am again with a new Problem. I am trying to trigger a patrol for a unit. Well... if I get the right way I will use it for than one, but now it's just for one unit 
So, here is what I did yet:
So what I thought, I did here: The unit will go to her first Waypoint (PatrouilleA1) and there it will check the if conditions. When it's attacked, well... it will skip the rest of the trigger and attack the enemy. If it's defeated the trigger will stop, if the Unit wins the fight, it will go back to her first Waypoint and start again.
I am not quit sure, if I chose "set rally-point" correctly for setting the Waypoints of the patrol and make the unit go to it.
I am also not quit sure, if I had to use timers here.
Can you please help me?
Oh and if I should translate the trigger for you, just tell me and I will try my best.
So, here is what I did yet:
-
Patrouille 1
-
Ereignisse
-
Map initialization
-
-
Bedingung
-
Aktionen
-
Einheit - Set Abscheuliche Monstrosität 0074 <gen> movement speed to 150,00
-
Einheit - Set Rally-Point for Abscheuliche Monstrosität 0074 <gen> to (Center of PatrouilleA1 <gen>)
-
For each (Interger A) from 1 to 10 do (Actions)
-
Schleifen - Aktionen
-
If (All Conditions are True) then do (Then Actions) else do 8Else Actions)
-
'IF'-Bedingungen
-
Abscheuliche Monstrosität 0074 <gen> Gleich (Attacked unit)
-
-
'THEN'-Aktionen
-
Skip remaining actions
-
Einheit - Set Abscheuliche Monstrosität 0074 <gen> movement speed to 270,00
-
Einheit - Order Abscheuliche Monstrosität 0074 <gen> to Angreifen (Attacked unit)
-
If (Abscheuliche Monstrosität 0074 <gen> Gleich (Dying Unit) then do (Auslöser - Turn off (this trigger) else do (Auslöser - Run Patrouille1 <gen> (ignoring conditions)
-
'ELSE'-Aktionen
-
Einheit - Set Rally-Point for Abscheuliche Monstrosität 0074 <gen> to (Center of PatrouilleA2 <gen>)
-
-
-
-
-
-
So what I thought, I did here: The unit will go to her first Waypoint (PatrouilleA1) and there it will check the if conditions. When it's attacked, well... it will skip the rest of the trigger and attack the enemy. If it's defeated the trigger will stop, if the Unit wins the fight, it will go back to her first Waypoint and start again.
I am not quit sure, if I chose "set rally-point" correctly for setting the Waypoints of the patrol and make the unit go to it.
I am also not quit sure, if I had to use timers here.
Can you please help me?
Oh and if I should translate the trigger for you, just tell me and I will try my best.