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

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