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

[Trigger] A location - a real quick question!

Status
Not open for further replies.
Level 6
Joined
Jun 15, 2008
Messages
175
I have a problem with a custom script in GUI. I do not know how I add the right frames around an index. The spell is MUI and I need a location to be stored. I store it to a variable, the variable is an array - how do I type the array thing in my custom script?
  • Set TempLoc2[TempInt] = (Position of (Triggering unit))
  • Custom script: call RemoveLocation(udg_TempLoc2 [TempInt])
(I know this does nothing, it is meant as an illustration of my trigger)
It's the [TempInt] that is messing up my trigger. How would this line look if it was correct?
 
Status
Not open for further replies.
Top