• 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] Local Variable Array

Status
Not open for further replies.
Level 10
Joined
Jun 10, 2007
Messages
557
I know this is a really simple and, perhaps dumb question, but how do you declare a local variable array? I know how to declare regular locals, but in this trigger it, to the best of my knowledge, needs to be an array.

  • Actions
    • Custom script: local effect udg_EffectArray
The above didn't work, which is what's usually used when declaring locals in GUI. I tried adding (), [], ( ), [ ], (1), [1], etc. to the end but to no avail. Could anybody answer this for me?

TL;DR: What do I put in a Custom Script to declare a local variable array?
 
Status
Not open for further replies.
Top