• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] What's wrong with this Point Leak Fix?

Status
Not open for further replies.
Level 17
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.

  • 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
 
Status
Not open for further replies.
Top