GetBodyPartDataHasPart

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns 1 if the passed Body-Part data has the specified body-part type (determined by partID).

Syntax

[help]
(hasPart:0/1) GetBodyPartDataHasPart bodyPartData:ref partID:int{0-14}

Body-Part Type IDs

0	Torso
1	Head 1
2	Head 2
3	Left Arm 1
4	Left Arm 2
5	Right Arm 1
6	Right Arm 2
7	Left Leg 1
8	Left Leg 2
9	Left Leg 3
10	Right Leg 1
11	Right Leg 2
12	Right Leg 3
13	Brain
14	Weapon

Example

GetBodyPartDataHasPart NVGecko 10

Will return 1 if NVGecko has the Right Leg 1 body-part.

See Also