Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.50

Description

Description:Checks which body parts have been removed, using setAmputation.

Syntax

Syntax:person getAmputation bodypart
Parameters:
  • person: Object - Person to check.
  • bodypart : String - Body part to be checked. Can be: "head", "leftarm", "rightarm", "leftleg" or "rightleg".
Return Value:String - Segment of specified body part that was removed. Can be "head", "lefthand", "leftforearm", "righthand", "rightforearm", "leftfoot", "leftuplegroll", "rightfoot", "rightuplegroll". Empty string if no segment of the specified body part was removed.

Examples

Examples:
_amputated = soldier1 getAmputation "leftleg";
// Might return: "LeftFoot"

Additional Information

See also: setAmputation
Multiplayer: 
Problems: 

Notes