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

Need help with some variables...

Status
Not open for further replies.
JASS:
local unit Y = //instert some code that returns a unit
local location X = GetUnitLoc(Y)
//run code here
call RemoveLocation(X)
set Y = null
set X = null

You may need to specify the problem better.
Can't u do it with triggers?I don't know the jass.Also,i want to create a variable on a unit,so i create a unit at that point,then remove that point.that's whta i want .thanx
 
Status
Not open for further replies.
Top