NX IsUsingSkeleton

< [[::Category:Functions|Category:Functions]]

A function added by the NX NVSE plugin.

Description

Given a skeleton name fragment and an actor reference (player, NPC, or creature), returns True (1) if the actor is using a skeleton in that directory, False (0) otherwise. The directory fragment must match the subdirectory under meshes, and is not case sensitive.

Syntax

(bool) reference.NX_IsUsingSkeleton SkeletonName:string Actor:ref

Example

PlayerREF.NX_IsUsingSkeleton "_male"    ; will return 1
PlayerREF.NX_IsUsingSkeleton "nvgecko"  ; will return 0
RexREF.NX_IsUsingSkeleton "_male"       ; will return 0
RexREF.NX_IsUsingSkeleton "dog"         ; will return 1

See Also