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.ShotFromBehindHelper Class Reference

Configure the shot from behind reaction. More...

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

Public Member Functions

 ShotFromBehindHelper (Ped ped)
 Creates a new Instance of the ShotFromBehindHelper for sending a ShotFromBehind 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

bool ShotFromBehind [set]
 Type of reaction. More...
 
float SfbSpineAmount [set]
 SpineBend. More...
 
float SfbNeckAmount [set]
 Neck Bend. More...
 
float SfbHipAmount [set]
 Hip Pitch. More...
 
float SfbKneeAmount [set]
 Knee bend. More...
 
float SfbPeriod [set]
 ShotFromBehind reaction period after being shot. More...
 
float SfbForceBalancePeriod [set]
 Amount of time not taking a step. More...
 
float SfbArmsOnset [set]
 Amount of time before applying spread out arms pose. More...
 
float SfbKneesOnset [set]
 Amount of time before bending knees a bit. More...
 
float SfbNoiseGain [set]
 Controls additional independent randomized bending of left/right elbows. More...
 
int SfbIgnoreFail [set]
 0 = balancer fails as normal, 1 = ignore backArchedBack and leanedTooFarBack balancer failures, 2 = ignore backArchedBack balancer failure only, 3 = ignore leanedTooFarBack balancer failure only. 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

Configure the shot from behind reaction.

Constructor & Destructor Documentation

◆ ShotFromBehindHelper()

GTA.NaturalMotion.ShotFromBehindHelper.ShotFromBehindHelper ( Ped  ped)

Creates a new Instance of the ShotFromBehindHelper for sending a ShotFromBehind Message to a given Ped.

Parameters
pedThe Ped to send the ShotFromBehind Message to.

Configure the shot from behind reaction.

Property Documentation

◆ SfbArmsOnset

float GTA.NaturalMotion.ShotFromBehindHelper.SfbArmsOnset
set

Amount of time before applying spread out arms pose.

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

◆ SfbForceBalancePeriod

float GTA.NaturalMotion.ShotFromBehindHelper.SfbForceBalancePeriod
set

Amount of time not taking a step.

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

◆ SfbHipAmount

float GTA.NaturalMotion.ShotFromBehindHelper.SfbHipAmount
set

Hip Pitch.

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

◆ SfbIgnoreFail

int GTA.NaturalMotion.ShotFromBehindHelper.SfbIgnoreFail
set

0 = balancer fails as normal, 1 = ignore backArchedBack and leanedTooFarBack balancer failures, 2 = ignore backArchedBack balancer failure only, 3 = ignore leanedTooFarBack balancer failure only.

Default value = 0. Min value = 0. Max value = 3.

◆ SfbKneeAmount

float GTA.NaturalMotion.ShotFromBehindHelper.SfbKneeAmount
set

Knee bend.

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

◆ SfbKneesOnset

float GTA.NaturalMotion.ShotFromBehindHelper.SfbKneesOnset
set

Amount of time before bending knees a bit.

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

◆ SfbNeckAmount

float GTA.NaturalMotion.ShotFromBehindHelper.SfbNeckAmount
set

Neck Bend.

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

◆ SfbNoiseGain

float GTA.NaturalMotion.ShotFromBehindHelper.SfbNoiseGain
set

Controls additional independent randomized bending of left/right elbows.

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

◆ SfbPeriod

float GTA.NaturalMotion.ShotFromBehindHelper.SfbPeriod
set

ShotFromBehind reaction period after being shot.

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

◆ SfbSpineAmount

float GTA.NaturalMotion.ShotFromBehindHelper.SfbSpineAmount
set

SpineBend.

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

◆ ShotFromBehind

bool GTA.NaturalMotion.ShotFromBehindHelper.ShotFromBehind
set

Type of reaction.

Default value = False.


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