GetBodyPartFlag

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns whether or not the specified flag (determined by flagID) is set for the specified body-part type (determined by partID) of the passed Body-Part Data.

Syntax

[help]
(flagValue:0/1) GetBodyPartFlag bodyPartData:ref partID:int{0-14} flagID:int{0-6}

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

Body-Part Flag IDs

0	Severable
1	IK Data
2	IK Data - Biped Data
3	Explodable
4	IK Data - Is Head
5	IK Data - Headtracking
6	Explodable - Absolute

Example

GetBodyPartFlag NVGecko 1 3

Will return whether or not the Explodable flag is set for the Head 1 body-part of NVGecko.

See Also