Class ConfigureShotInjuredLegHelper
This single message allows you to configure the injured leg reaction during shot.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class ConfigureShotInjuredLegHelper : CustomHelper
Constructors
Name | Description |
---|---|
ConfigureShotInjuredLegHelper(Ped) | Creates a new Instance of the ConfigureShotInjuredLegHelper for sending a ConfigureShotInjuredLeg Message to a given Ped. |
Properties
Name | Description |
---|---|
LegForceStep | Force a step to be taken whether pushed out of balance or not. |
LegInjury | Leg injury - leg strength is reduced. |
LegInjuryHipPitch | Leg injury bend forwards amount when not lifting leg. |
LegInjuryLiftHipPitch | Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg). |
LegInjuryLiftSpineBend | Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg). |
LegInjurySpineBend | Leg injury bend forwards amount when not lifting leg. |
LegInjuryTime | Leg injury duration (reaction to being shot in leg). |
LegLiftTime | Leg lift duration (reaction to being shot in leg). (Lifting happens when not stepping with other leg). |
LegLimpBend | Bend the legs via the balancer by this amount if stepping on the injured leg. 0.2 seems a good default. |
TimeBeforeCollapseWoundLeg | Time before a wounded leg is set to be weak and cause the character to collapse. |