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:

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
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.
Top