Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
What is this GetUnitPointValue() ?
What is this GetUnitPointValue() ?
08-24-2007, 03:08 PM
#1
cohadar
I just stumbled upon this in JassShopPro.
I don't have WE here to check this out.
08-24-2007, 03:12 PM
#2
Earth-Fury
Units have point values that can be defined in the object editor. This function returns a units point value. (factors in to the score somehow, much more usefull for scripted effects) like UnitUserData, but immutable and for unit types.
08-24-2007, 03:15 PM
#3
cohadar
ah yes GetUnitPointValueByType()... interesting.
And like you said there is no set functions...
Good for some classifications I guess.
08-24-2007, 11:48 PM
#4
Pyrogasm
It's calculated into a player's score at the End-game screen... isn't it?
08-25-2007, 05:57 AM
#5
DioD
This used to add numbers for objects to meet array ranges.
you may need to add custom data for objects, like hero main attribute