SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.NaturalMotion.ConfigureShotInjuredLegHelper Class Reference

This single message allows you to configure the injured leg reaction during shot. More...

Inheritance diagram for GTA.NaturalMotion.ConfigureShotInjuredLegHelper:
GTA.NaturalMotion.CustomHelper

Public Member Functions

 ConfigureShotInjuredLegHelper (Ped ped)
 Creates a new Instance of the ConfigureShotInjuredLegHelper for sending a ConfigureShotInjuredLeg Message to a given Ped. More...
 
- Public Member Functions inherited from GTA.NaturalMotion.CustomHelper
void Start ()
 Starts this Natural Motion behavior on the Ped that will loop until manually aborted. More...
 
void Start (int duration)
 Starts this Natural Motion behavior on the Ped for a specified duration. More...
 
void Stop ()
 Stops this Natural Motion behavior on the Ped. More...
 
void SetArgument (string argName, bool value)
 Sets a Message argument to a bool value. More...
 
void SetArgument (string argName, int value)
 Sets a Message argument to a int value. More...
 
void SetArgument (string argName, float value)
 Sets a Message argument to a float value. More...
 
void SetArgument (string argName, string value)
 Sets a Message argument to a string value. More...
 
void SetArgument (string argName, Vector3 value)
 Sets a Message argument to a Vector3 value. More...
 
void ResetArguments ()
 Resets all arguments to their default values. More...
 
override string ToString ()
 Returns the internal message name. More...
 

Properties

float TimeBeforeCollapseWoundLeg [set]
 Time before a wounded leg is set to be weak and cause the character to collapse. More...
 
float LegInjuryTime [set]
 Leg injury duration (reaction to being shot in leg). More...
 
bool LegForceStep [set]
 Force a step to be taken whether pushed out of balance or not. More...
 
float LegLimpBend [set]
 Bend the legs via the balancer by this amount if stepping on the injured leg. 0.2 seems a good default. More...
 
float LegLiftTime [set]
 Leg lift duration (reaction to being shot in leg). (Lifting happens when not stepping with other leg). More...
 
float LegInjury [set]
 Leg injury - leg strength is reduced. More...
 
float LegInjuryHipPitch [set]
 Leg injury bend forwards amount when not lifting leg. More...
 
float LegInjuryLiftHipPitch [set]
 Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg). More...
 
float LegInjurySpineBend [set]
 Leg injury bend forwards amount when not lifting leg. More...
 
float LegInjuryLiftSpineBend [set]
 Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg). More...
 

Additional Inherited Members

- Protected Member Functions inherited from GTA.NaturalMotion.CustomHelper
 CustomHelper (Ped target, string message)
 Creates a helper class for building Natural Motion messages to send to a given Ped. More...
 

Detailed Description

This single message allows you to configure the injured leg reaction during shot.

Constructor & Destructor Documentation

◆ ConfigureShotInjuredLegHelper()

GTA.NaturalMotion.ConfigureShotInjuredLegHelper.ConfigureShotInjuredLegHelper ( Ped  ped)

Creates a new Instance of the ConfigureShotInjuredLegHelper for sending a ConfigureShotInjuredLeg Message to a given Ped.

Parameters
pedThe Ped to send the ConfigureShotInjuredLeg Message to.

This single message allows you to configure the injured leg reaction during shot.

Property Documentation

◆ LegForceStep

bool GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegForceStep
set

Force a step to be taken whether pushed out of balance or not.

Default value = True.

◆ LegInjury

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjury
set

Leg injury - leg strength is reduced.

Default value = 0.3f. Min value = 0.0f. Max value = 1.0f.

◆ LegInjuryHipPitch

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjuryHipPitch
set

Leg injury bend forwards amount when not lifting leg.

Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.

◆ LegInjuryLiftHipPitch

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjuryLiftHipPitch
set

Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).

Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.

◆ LegInjuryLiftSpineBend

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjuryLiftSpineBend
set

Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).

Default value = 0.2f. Min value = -1.0f. Max value = 1.0f.

◆ LegInjurySpineBend

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjurySpineBend
set

Leg injury bend forwards amount when not lifting leg.

Default value = 0.1f. Min value = -1.0f. Max value = 1.0f.

◆ LegInjuryTime

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegInjuryTime
set

Leg injury duration (reaction to being shot in leg).

Default value = 0.4f. Min value = 0.0f. Max value = 2.0f.

◆ LegLiftTime

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegLiftTime
set

Leg lift duration (reaction to being shot in leg). (Lifting happens when not stepping with other leg).

Default value = 0.0f. Min value = 0.0f. Max value = 2.0f.

◆ LegLimpBend

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.LegLimpBend
set

Bend the legs via the balancer by this amount if stepping on the injured leg. 0.2 seems a good default.

Default value = 0.0f. Min value = 0.0f. Max value = 1.0f.

◆ TimeBeforeCollapseWoundLeg

float GTA.NaturalMotion.ConfigureShotInjuredLegHelper.TimeBeforeCollapseWoundLeg
set

Time before a wounded leg is set to be weak and cause the character to collapse.

Default value = 0.3f. Min value = 0.0f. Max value = 10.0f.


The documentation for this class was generated from the following file: