Difference between revisions of "DamageActorValue - Actor"
m
Removed second bullet in Notes section due to inaccuracy of statement.
imported>JustinOther m (→Examples: Floatified afDamage) |
imported>KainXavier m (Removed second bullet in Notes section due to inaccuracy of statement.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
Function DamageActorValue(string asValueName, float afDamage) native | Function DamageActorValue(string asValueName, float afDamage) native | ||
Function DamageAV(string asValueName, float afDamage) | Function DamageAV(string asValueName, float afDamage) | ||
DamageActorValue(asValueName, afDamage) | |||
EndFunction | |||
</source> | </source> | ||
Line 29: | Line 31: | ||
Bob.DamageAV("Health", 5.0) | Bob.DamageAV("Health", 5.0) | ||
</source> | </source> | ||
== Notes == | |||
*This function modifies the current value as opposed to the base value. | |||
*Negative numbers will be converted to positive so -100 and 100 will have the same effect. | |||
== See Also == | == See Also == |