• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[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