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

JASS call RemoveLocation help!

Status
Not open for further replies.
Level 3
Joined
Dec 8, 2008
Messages
29
I am setting a Point as a variable using a For Loop Integer A.

  • Set RushUnitPoint[(Integer A)] = (Position of RushUnit[(Integer A)])
How do I use the Jass function

  • Custom script: call RemoveLocation
To remove it? I don't know how to convert the index of the variable by using the Integer A from my loop.

I used

  • Custom script: call RemoveLocation(udg_RushUnitPoint[GetConvertedPlayerId(GetTriggerPlayer())])
to remove it when set with player ID, so would it be

  • Custom script: call RemoveLocation(udg_RushUnitPoint[IntegerA])
??
 
Status
Not open for further replies.
Top