GetHeight - ActorBase

From the CreationKit Wiki
Revision as of 05:35, 1 March 2013 by imported>Wafflesalot (Modified Description, Return Value and Notes to be correct.)
Jump to navigation Jump to search

SKSE Member of: ActorBase Script

Returns the body height multiplier of this actor. (This function requires SKSE)

Syntax

float Function GetHeight() native

Return Value

Returns the body height multiplier of this actor.


Examples

Float Height = Game.GetPlayer().GetActorBase().GetHeight()
Debug.Trace("The player's, current height multiplier is " + Height)

Notes

  • This returns the body meshes multiplier so 0.5 would be 50% of the original size of the actor or 1.2 would be 20% larger.
  • This Function is different to GetHeight in that it is a multiplier and not a actual height.

See Also