Class ConfigureShotInjuredLegHelper
This single message allows you to configure the injured leg reaction during shot.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class ConfigureShotInjuredLegHelper : CustomHelper
Constructors
| Improve this Doc View SourceConfigureShotInjuredLegHelper(Ped)
Creates a new Instance of the ConfigureShotInjuredLegHelper for sending a ConfigureShotInjuredLeg Message to a given Ped.
Declaration
public ConfigureShotInjuredLegHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Remarks
This single message allows you to configure the injured leg reaction during shot.
Properties
| Improve this Doc View SourceLegForceStep
Force a step to be taken whether pushed out of balance or not.
Declaration
public bool LegForceStep { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
LegInjury
Leg injury - leg strength is reduced.
Declaration
public float LegInjury { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.3f. Min value = 0.0f. Max value = 1.0f.
LegInjuryHipPitch
Leg injury bend forwards amount when not lifting leg.
Declaration
public float LegInjuryHipPitch { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.
LegInjuryLiftHipPitch
Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).
Declaration
public float LegInjuryLiftHipPitch { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.
LegInjuryLiftSpineBend
Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).
Declaration
public float LegInjuryLiftSpineBend { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.2f. Min value = -1.0f. Max value = 1.0f.
LegInjurySpineBend
Leg injury bend forwards amount when not lifting leg.
Declaration
public float LegInjurySpineBend { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.1f. Min value = -1.0f. Max value = 1.0f.
LegInjuryTime
Leg injury duration (reaction to being shot in leg).
Declaration
public float LegInjuryTime { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.4f. Min value = 0.0f. Max value = 2.0f.
LegLiftTime
Leg lift duration (reaction to being shot in leg). (Lifting happens when not stepping with other leg).
Declaration
public float LegLiftTime { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = 0.0f. Max value = 2.0f.
LegLimpBend
Bend the legs via the balancer by this amount if stepping on the injured leg. 0.2 seems a good default.
Declaration
public float LegLimpBend { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = 0.0f. Max value = 1.0f.
TimeBeforeCollapseWoundLeg
Time before a wounded leg is set to be weak and cause the character to collapse.
Declaration
public float TimeBeforeCollapseWoundLeg { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.3f. Min value = 0.0f. Max value = 10.0f.