• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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