BodyWeight Struct - ActorBase

From Creation Kit
Jump to: navigation, search

F4SE Member of: ActorBase Script
Requires F4SE version 0.3.1 or higher.

A structure that holds information about an actors body weight consisting of three ratios. The sum of the three ratios should add to 1.0

Syntax

Struct BodyWeight
  float Thin
  float Muscular
  float Large
EndStruct

Members

  • Thin: The thin ratio of the actors weight.
  • Muscular: The muscular ratio of the actors weight.
  • Large: The large ratio of the actors weight.

Examples

ActorBase:BodyWeight bodyWeight = new ActorBase:BodyWeight
bodyWeight.Thin = 0.25
bodyWeight.Muscular = 0.25
bodyWeight.Large = 0.50
 
Debug.Trace("Thin: " + bodyWeight.Thin)
Debug.Trace("Muscular: " + bodyWeight.Muscular)
Debug.Trace("Large: " + bodyWeight.Large)

See Also