SetBodyPartName

Revision as of 21:04, 30 April 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the name of the specified body-part type (determined by <i>partID</i>) of the passed Body-Part data. |name = SetBodyPartName |argu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets the name of the specified body-part type (determined by partID) of the passed Body-Part data.

Syntax

SetBodyPartName bodyPartData:ref partID:int{0-14} newName:string

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

SetBodyPartName RobobrainBodyPartData 0 "Chassis"

Will set the name of the Torso body-part of RobobrainBodyPartData to "Chassis".

See Also