- Joined
- Jun 12, 2007
- Messages
- 1,261
Oke basicly I'm making a spell for somebody but when I wanted to clean on of the leaks (an array point variable) I keep getting an error.
Expected '=='
Now I have no idea what I'm supposed to do, maybe you know what I did wrong.
Expected '=='
Now I have no idea what I'm supposed to do, maybe you know what I did wrong.
-
Stunning Skin
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Stunning Skin for (Attacked unit)) Equal to 1
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random real number between 0.00 and 1.00) Less than or equal to 0.10
-
-
Then - Actions
-
Set GolumPoint[(Player number of (Owner of (Attacked unit)))] = (Position of (Attacked unit))
-
Unit - Create 1 Dummy Caster (Stun 2sec) for (Owner of (Attacked unit)) at GolumPoint[(Player number of (Owner of (Attacked unit)))] facing Default building facing degrees
-
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Neutral - Firebolt (Attacking unit)
-
Custom script: call RemoveLocation(udg_GolumPoint[GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))] = GetUnitLoc(GetAttackedUnitBJ()))
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-