• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Array size bug?

Status
Not open for further replies.
Level 1
Joined
Oct 21, 2023
Messages
1
Got a few variables that I don't appear to be able to update the array size of anymore via trigger editor. I am able to make changes via the variable widow, which is tedious. This is also affecting newly created maps.

Wondering if this is a problem with a known solution or at least a reset option.

EDIT: it appears that the array will update size IF the data type is intermediately changed before selecting away from the variable. Changing the data type then the array size does not update the array size.
 
Last edited:
Got a few variables that I don't appear to be able to update the array size of anymore via trigger editor. I am able to make changes via the variable widow, which is tedious. This is also affecting newly created maps.

Wondering if this is a problem with a known solution or at least a reset option.

EDIT: it appears that the array will update size IF the data type is intermediately changed before selecting away from the variable. Changing the data type then the array size does not update the array size.
You need to change the Initial Size of your Arrays inside of the Variable Editor - otherwise the change won't stick.

Also, remember that the only variable types that actually NEED to have their Initial Sizes set are Unit Groups, Player Groups, and Timers.

The rest of the variable types can be left at their default size since they will dynamically change as the Index grows.
 
Status
Not open for further replies.
Back
Top