- Joined
- Sep 1, 2011
- Messages
- 12
So I have this trigger. I want to remove the Rainbow_Point, but how?
I know I have to use something similar to
call RemoveLocation (udg_Rainbow_Point).
But the problem is it's an array and I don't know how to remove that with [Player number of...ect].
Yes, it's a German version. xD
I know I have to use something similar to
call RemoveLocation (udg_Rainbow_Point).
But the problem is it's an array and I don't know how to remove that with [Player number of...ect].
Yes, it's a German version. xD
-
Rainbow
-
Ereignisse
- Spiel - GDD_Event becomes Gleich 0.00
-
Bedingungen
- (GDD_DamageSource has an item of type Rainbow Sword) Gleich True
-
Aktionen
- Set Rainbow_Point[(Player number of (Owner of GDD_DamageSource))] = (Position of GDD_DamageSource)
- Set RandomNumber[(Player number of (Owner of GDD_DamageSource))] = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
- RandomNumber[(Player number of (Owner of GDD_DamageSource))] Kleiner gleich 5
-
'THEN'-Aktionen
- Einheit - Create 1 Dummy_1 for (Owner of GDD_DamageSource) at Rainbow_Point[(Player number of (Owner of GDD_DamageSource))] facing (Position of GDD_DamageSource)
- Einheit - Order (Last created unit) to Menschen-Priester - 'Inneres Feuer' GDD_DamageSource
- Einheit - Add a 0.05 second Standard expiration timer to (Last created unit)
- 'ELSE'-Aktionen
-
'IF'-Bedingungen
-
Ereignisse