thx for your answer but,
thats not really what i searched for ... :-/
so my hero has got 5 attributes.
Strength
Vitality
Stamina
Intelligence
Mind
they have got values as integer numbers.
and i just search for a function to get the value (integer) of one of those 5 attributes (behaviours) of my hero...
well i can't really find the UnitGetPropertyInt() in GUI.
does it work?
and,... in GUI im just able to change general stats with UnitSetPropertyInt() like hitpoints or energy,
but not attributes (behaviours)! :-(
Robbepop
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hiho,
well what the topic is about...
Is it possible at the moment to get a units attribute/behaviour/ability level or value via triggers? i need that for my custom UI...
Robbepop
@Robbepop: Go dude just LOOK FOR YOURSELF and YES it is possible
hiho,
i just didnt find it after hours of searching. would you be so nice and tell me how it works pls?
btw: i want to GET the values and not SET them via triggers!!
Robbepop
It's the condition "Unit Type Attribute Check"
hiho,
thx for your answer but, thats not really what i searched for ... :-/
so my hero has got 5 attributes. Strength Vitality Stamina Intelligence Mind
they have got values as integer numbers. and i just search for a function to get the value (integer) of one of those 5 attributes (behaviours) of my hero...
i thought it was clear enough.
mfg Robbepop
native int UnitGetPropertyInt(unit p1, int p2, bool p3);
native fixed UnitGetPropertyFixed(unit p1, int p2, bool p3);
yay natives! <3
hiho,
well i can't really find the UnitGetPropertyInt() in GUI. does it work? and,... in GUI im just able to change general stats with UnitSetPropertyInt() like hitpoints or energy, but not attributes (behaviours)! :-(
Robbepop