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

[Solved] how to set attribute=0

Status
Not open for further replies.
Level 4
Joined
Nov 24, 2010
Messages
70
Hi, just asking how to set a hero's agi/int/str to 0?
i input its base as 0 but it automatically changes to 1 in object editor? I saw some maps having heroes with 0 str and agi. Thanks for helping.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Holding the SHIFT-key enables you to set values to things that are normally limited (negative values / very high values / 0).
For example, the normal max hero level is 10000 (in gameplay constants). With SHIFT, however, you can set it to something higher.

The reason why you have to hold SHIFT is because you might mess stuff up: iif some values are too high, they might crash the game or cause lag. Same goes for negative values.
While the max hero level can be set to something higher than 10000 while holding SHIFT, in-game it will cause a lot of problems (I believe this has to do with the experience-integer not being able to handle such huge numbers).
It's a safety measurement. As long as you know what you're doing, it's okay.
 
Status
Not open for further replies.
Top