GetBodyPartData

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Returns the Body Part Data form of a Creature form.

With later JIP developments, this can also be used with NPC forms (i.e. humans). In this case, it will always return the DefaultBodyPartData (formID 1D).

Syntax

[help]
(bodyPartData:ref) GetBodyPartData creature:form

Example

set rBodyPartData to GetBodyPartData CrDogVicious 

Notes

  • As you can see, this uses base forms, do not run it on actor references.
  • If using the player's base object (formID 7), this also returns the DefaultBodyPartData. The player reference (formID 14) actually uses a special one, PlayerBodyPartData (formID 1C).

See Also