Difference between revisions of "SetActorValue - Actor"
Jump to navigation
Jump to search
m
→Examples: Floatified parameters
imported>Jlundin (→Syntax) |
imported>JustinOther m (→Examples: Floatified parameters) |
||
Line 21: | Line 21: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Set the player's health actor value to 50 | ; Set the player's health actor value to 50 | ||
Game.GetPlayer().SetActorValue("health", 50) | Game.GetPlayer().SetActorValue("health", 50.0) | ||
</source> | </source> | ||
<br/> | <br/> | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Set Nancy's current health actor value | ; Set Nancy's current health actor value | ||
Nancy.SetAV("Health", 20) | Nancy.SetAV("Health", 20.0) | ||
</source> | </source> | ||