Difference between revisions of "ModActorValue - Actor"
Jump to navigation
Jump to search
m
Added some notes.
imported>JustinOther m (→Examples: Floatified float parameters in examples) |
imported>Selyb m (Added some notes.) |
||
Line 29: | Line 29: | ||
Jake.ModAV("Health", -5.0) | Jake.ModAV("Health", -5.0) | ||
</source> | </source> | ||
== Notes == | |||
*This function modifies the current value as opposed to the base value. | |||
*ModActorValue() with a negative number is equivalent to DamageActorValue() | |||
*ModActorValue() with a positive number is equivalent to RestoreActorValue() except that RestoreActorValue will not set the current value higher than the base value. | |||
== See Also == | == See Also == |