Difference between revisions of "SetActorValue"
caveat for Player.SetAV Health
imported>ShadowDancer m (formatting) |
imported>Windscion (caveat for Player.SetAV Health) |
||
|
'''Note:''' Although called on a reference, this function actually changes the value on the base actor (thus the base value on all references of that base actor). Note also that [[ModActorValue]] modifies the stat value only on the reference, and so is usually preferable.
'''Note:''' There is a subtlety when using Player.SetActorValue Health -- what is set is not the PC's total health, but that portion not due to their current endurance attribute.
Hence,
*set igor to Player.GetAV Health
*Player.SetActorValue Health igor
will increase the PC's maximum health by the amount due to their endurance. (E.g., 2xEND in vanilla, 1.5xEND in OOO.)
==See Also==
[[Stats List]]
| |||