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

MUI and variable array size

Status
Not open for further replies.
You have to use custom script to dynamically create unit groups in an array if you don't want a bunch of arbitrary wasted group handles. The biggest problem is that the "main" thread will crash and prevent any of your triggers from initialising if you set an initial array size (or multiple arrays) too high. A combined total of 30+k array indices aught to crash it, so I recommend not initializing any array in GUI above 16 (for MPI stuff).
 
Status
Not open for further replies.
Top