• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

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 74
Joined
Aug 10, 2018
Messages
7,939
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