Difference between revisions of "SetActorValue - Actor"

Jump to navigation Jump to search
4 bytes added ,  11:10, 8 October 2012
m
→‎Examples: Floatified parameters
imported>Jlundin
 
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>


Anonymous user

Navigation menu