Difference between revisions of "DamageActorValue - Actor"
m
Removed second bullet in Notes section due to inaccuracy of statement.
imported>Thingy Person (→Syntax) |
imported>KainXavier m (Removed second bullet in Notes section due to inaccuracy of statement.) |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function DamageActorValue(string asValueName, float afDamage) | Function DamageActorValue(string asValueName, float afDamage) native | ||
DamageAV(string asValueName, float afDamage) | Function DamageAV(string asValueName, float afDamage) | ||
DamageActorValue(asValueName, afDamage) | DamageActorValue(asValueName, afDamage) | ||
EndFunction | EndFunction | ||
Line 34: | Line 34: | ||
== Notes == | == Notes == | ||
*This function modifies the current value as opposed to the base value. | *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. | *Negative numbers will be converted to positive so -100 and 100 will have the same effect. | ||