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

Maximal Array Value

Status
Not open for further replies.
Level 6
Joined
Jan 7, 2007
Messages
247
Ugh, im not sure this is right forum to post...
Well, what is maximal array value? Array ugh.. im not sure this thing is so called in english. I mean itz when variable could have many values, variable[1], varbiable[2] and etc..

Ive got some trigger ideas, but it will add +1 to array for 10 variables at same time each 0.01 second. Or slower. Anyways, will it cause lags? Or it will stop sometime cause of maximal value?..
 
Level 5
Joined
Apr 16, 2005
Messages
153
Yea, its called array, and I have a 15 sized array in one of my maps to track players, and in the same map i have a 20 sized array to track rank names for when you kill a hero you gain a rank and your name changes. I've had no problems with it
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
arrays range from [0] to [8190] (there may be [8191], but I don't think so)

And it will probably cause a thread crash or somesuch if you hit that value.

Oh, and the 'array size' that you set in the 'Variable Manager' determines how many slots are initialized, not how large the array can actually be.
 
Status
Not open for further replies.
Top