Difference between revisions of "DamageActorValue - Actor"

76 bytes removed ,  23:18, 10 April 2014
m
Removed second bullet in Notes section due to inaccuracy of statement.
imported>Thingy Person
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) nativeFunction
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.
*DamageActorValue() is equivalent to ModActorValue() with a negative number.
*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.


Anonymous user