ModBaseActorValue

Revision as of 20:42, 23 September 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Modifies the <u>base</u> value of the specified stat, for the passed actor. This function differs from ModActorValue,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Modifies the base value of the specified stat, for the passed actor. This function differs from ModActorValue, which modifies the current stat value. The modifier may be either positive or negative.

Syntax

reference.ModBaseActorValue statName:string modifier:float actorBase:ref 

Or:

reference.ModBaseAV statName:string modifier:float actorBase:ref

Example

CraigBooneRef.ModBaseActorValue Health 50
ModBaseAV Health -85 CrDeathClawMother

Notes

  • The changes will be applied on all instances of the actor's base form in the world.

See Also