• 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.

Clearing point with index leak

Status
Not open for further replies.
Level 12
Joined
Mar 24, 2011
Messages
1,082
Its simple evry 1 sec I place point to the possition of a unit. Then with a chat string the player can order all his units to atack-move to it.
The problem is with clearing the point leak.

I tried this:
  • Atack Point
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: call RemoveLocation(udg_Atack Point[1])
      • Set AtackPoint[1] = (Position of EYE OF EVIL 0165 <gen>)
and this :
  • Atack Point
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set AtackPoint[1] = (Position of EYE OF EVIL 0165 <gen>)
      • Wait 0.95 seconds
      • Custom script: call RemoveLocation(udg_Atack Point[1])


And now I think (not think 99% sure) that I did something whrong with the custom script. If someone could show me how it would look like ?
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
With the first it dissables the trigger saying Line 111 Expected a name
And dissables another trigger which uses Atack point 1 saying Line 945 Expected a name

With the яеъдха it dissables the trigger saying Line 113 Expected a name
And dissables another trigger which uses Atack point 1 saying Line 945 Expected a name

So...
 
Status
Not open for further replies.
Top