• 🏆 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!

[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