• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Local Variable Array

Not open for further replies.
Level 10
Jun 10, 2007
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?
Not open for further replies.