• 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] Use one loc for all

Status
Not open for further replies.

NEL

NEL

Level 6
Joined
Mar 6, 2017
Messages
113
JASS:
local location loc = GetUnitLoc(udg_Box)

call CreateUnitAtLoc(Player(0), 'h000', loc, 69)
call CreateUnitAtLoc(Player(0), 'h001', loc, 69)

call RemoveLocation(loc)
set loc = null

This is good or not?
 
Status
Not open for further replies.
Top