randomInjury

Module: randomInjury — player_injury.lua

What it does

Applies a random injury to the local player. Two injury types are supported:

Trigger type

randomInjury

Parameters

ParameterTypeDefaultValid ValuesDescription
type string required "randomInjury" Module trigger identifier.
injury string random "bullet", "fracture" Which injury type to apply. If omitted or unrecognised, one is chosen at random (50/50).

Possible body part targets:

UpperLeg_LUpperLeg_RLowerLeg_LLowerLeg_R Foot_LFoot_RUpperArm_LUpperArm_R ForeArm_LForeArm_RHand_LHand_R Torso_LowerTorso_UpperHeadNeckGroin

Examples

Random injury (bullet or fracture, 50/50)
{ type="randomInjury" }
Force a bullet wound
{ type="randomInjury", injury="bullet" }
Force a fracture
{ type="randomInjury", injury="fracture" }