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.CatchFallHelper Class Reference
Inheritance diagram for GTA.NaturalMotion.CatchFallHelper:
GTA.NaturalMotion.CustomHelper

Public Member Functions

 CatchFallHelper (Ped ped)
 Creates a new Instance of the CatchFallHelper for sending a CatchFall 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 TorsoStiffness [set]
 Stiffness of torso. More...
 
float LegsStiffness [set]
 Stiffness of legs. More...
 
float ArmsStiffness [set]
 Stiffness of arms. More...
 
float BackwardsMinArmOffset [set]
 0 will prop arms up near his shoulders. -0.3 will place hands nearer his behind. More...
 
float ForwardMaxArmOffset [set]
 0 will point arms down with angled body, 0.45 will point arms forward a bit to catch nearer the head. More...
 
float ZAxisSpinReduction [set]
 Tries to reduce the spin around the Z axis. Scale 0 - 1. More...
 
float ExtraSit [set]
 Scale extra-sit value 0..1. Setting to 0 helps with arched-back issues. Set to 1 for a more alive-looking finish. More...
 
bool UseHeadLook [set]
 Toggle to use the head look in this behavior. More...
 
string Mask [set]
 Two character body-masking value, bitwise joint mask or bitwise logic string of two character body-masking value (see Active Pose notes for possible values). 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...
 

Constructor & Destructor Documentation

◆ CatchFallHelper()

GTA.NaturalMotion.CatchFallHelper.CatchFallHelper ( Ped  ped)

Creates a new Instance of the CatchFallHelper for sending a CatchFall Message to a given Ped.

Parameters
pedThe Ped to send the CatchFall Message to.

Property Documentation

◆ ArmsStiffness

float GTA.NaturalMotion.CatchFallHelper.ArmsStiffness
set

Stiffness of arms.

Default value = 15.0f. Min value = 6.0f. Max value = 16.0f.

◆ BackwardsMinArmOffset

float GTA.NaturalMotion.CatchFallHelper.BackwardsMinArmOffset
set

0 will prop arms up near his shoulders. -0.3 will place hands nearer his behind.

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

◆ ExtraSit

float GTA.NaturalMotion.CatchFallHelper.ExtraSit
set

Scale extra-sit value 0..1. Setting to 0 helps with arched-back issues. Set to 1 for a more alive-looking finish.

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

◆ ForwardMaxArmOffset

float GTA.NaturalMotion.CatchFallHelper.ForwardMaxArmOffset
set

0 will point arms down with angled body, 0.45 will point arms forward a bit to catch nearer the head.

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

◆ LegsStiffness

float GTA.NaturalMotion.CatchFallHelper.LegsStiffness
set

Stiffness of legs.

Default value = 6.0f. Min value = 4.0f. Max value = 16.0f.

◆ Mask

string GTA.NaturalMotion.CatchFallHelper.Mask
set

Two character body-masking value, bitwise joint mask or bitwise logic string of two character body-masking value (see Active Pose notes for possible values).

Default value = "fb".

◆ TorsoStiffness

float GTA.NaturalMotion.CatchFallHelper.TorsoStiffness
set

Stiffness of torso.

Default value = 9.0f. Min value = 6.0f. Max value = 16.0f.

◆ UseHeadLook

bool GTA.NaturalMotion.CatchFallHelper.UseHeadLook
set

Toggle to use the head look in this behavior.

Default value = True.

◆ ZAxisSpinReduction

float GTA.NaturalMotion.CatchFallHelper.ZAxisSpinReduction
set

Tries to reduce the spin around the Z axis. Scale 0 - 1.

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


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