Skip to content
ASArcaneMP Scripting APIScripting reference
Type aliasServer APIGenerated

BodyPart

BodyPart = "head" | "neck" | "chest" | "abdomen" | "pelvis" | "leftUpperArm" | "leftForearm" | "leftHand" | "rightUpperArm" | "rightForearm" | "rightHand" | "leftThigh" | "leftCalf" | "leftFoot" | "rightThigh" | "rightCalf" | "rightFoot"

Defined in: shared.d.ts:1086

Where a spell struck a player: one of the 17 bodies their physics asset gives them. Each part is one bone of the player skeleton: head Head (the jaw too), neck Neck, chest Spine3 (and the collarbones), abdomen Spine1, pelvis Hips, the arms’ upper arm, forearm and hand (LeftArm, LeftForeArm, LeftHand), and the legs’ thigh, calf and foot (LeftUpLeg, LeftLeg, LeftFoot).

The caster’s client reads it off its own copy of the victim’s body, along the bolt’s path at impact, and the server cannot check it: keep what a part is worth modest. Lock-on bolts home to the middle of the body, so with aim: "lock" they mostly name the pelvis; skill shots name the part they strike. A blast names the part nearest it.