Difference between revisions of "SetHeight - ActorBase"
Jump to navigation
Jump to search
imported>Wafflesalot (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Sets the body height multiplier of this actor. (This function require...") |
imported>Wafflesalot (Fix to the Example for accuracy.) |
||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
;Increases the players size by | ;Increases the players size by 0.5x | ||
Game.GetPlayer().GetActorBase().SetHeight(1.5) | Game.GetPlayer().GetActorBase().SetHeight(1.5) | ||
</source> | </source> |
Revision as of 03:59, 1 March 2013
SKSE Member of: ActorBase Script
Sets the body height multiplier of this actor. (This function requires SKSE)
Syntax
Function SetHeight(float height) native
Parameter
- height - Sets the Actors body height multiplier.
Examples
;Increases the players size by 0.5x
Game.GetPlayer().GetActorBase().SetHeight(1.5)
Notes
- To update the Actors size after running this function, the function QueueNiNodeUpdate must be used.
- This Function does not update Collision geometry, nor camera if used on the player.