Difference between revisions of "GetHeight - ActorBase"
Jump to navigation
Jump to search
imported>Wafflesalot (Modified Description, Return Value and Notes to be correct.) |
imported>Rasikko m (→Notes: fixed up grammar a bit) |
||
Line 23: | Line 23: | ||
== Notes == | == 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 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 - ObjectReference|GetHeight]] in that it is a multiplier and not | * This Function is different to [[GetHeight - ObjectReference|GetHeight]] in that it is a multiplier and not an actual height. | ||
== See Also == | == See Also == | ||
*[[ActorBase Script]] | *[[ActorBase Script]] | ||
*[[SetHeight - ActorBase]] | *[[SetHeight - ActorBase]] |
Latest revision as of 02:29, 27 March 2021
SKSE Member of: ActorBase Script
Returns the body height multiplier of this actor. (This function requires SKSE)
Syntax[edit | edit source]
float Function GetHeight() native
Return Value[edit | edit source]
Returns the body height multiplier of this actor.
Examples[edit | edit source]
Float Height = Game.GetPlayer().GetActorBase().GetHeight()
Debug.Trace("The player's, current height multiplier is " + Height)
Notes[edit | edit source]
- 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 an actual height.