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

Public Member Functions

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

Vector3 EdgeLeft [set]
 Defines the left edge point (left of character facing edge). More...
 
Vector3 EdgeRight [set]
 Defines the right edge point (right of character facing edge). More...
 
bool UseExclusionZone [set]
 Stop stepping across the line defined by edgeLeft and edgeRight. More...
 
bool UseHeadLook [set]
 
bool CallHighFall [set]
 Call highFall if fallen over the edge. If false just call blended writhe (to go over the top of the fall behavior of the underlying behavior e.g. bodyBalance). More...
 
bool LeanAway [set]
 Lean away from the edge based on velocity towards the edge (if closer than 2m from edge). More...
 
float PreTeeterTime [set]
 Time-to-edge threshold to start pre-teeter (windmilling, etc). More...
 
float LeanAwayTime [set]
 Time-to-edge threshold to start leaning away from a potential fall. More...
 
float LeanAwayScale [set]
 Scales stay upright lean and hip pitch. More...
 
float TeeterTime [set]
 Time-to-edge threshold to start full-on teeter (more aggressive lean, drop-and-twist, etc). 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

◆ TeeterHelper()

GTA.NaturalMotion.TeeterHelper.TeeterHelper ( Ped  ped)

Creates a new Instance of the TeeterHelper for sending a Teeter Message to a given Ped.

Parameters
pedThe Ped to send the Teeter Message to.

Property Documentation

◆ CallHighFall

bool GTA.NaturalMotion.TeeterHelper.CallHighFall
set

Call highFall if fallen over the edge. If false just call blended writhe (to go over the top of the fall behavior of the underlying behavior e.g. bodyBalance).

Default value = True.

◆ EdgeLeft

Vector3 GTA.NaturalMotion.TeeterHelper.EdgeLeft
set

Defines the left edge point (left of character facing edge).

Default value = Vector3(39.5f, 38.9f, 21.1f). Min value = 0.0f.

◆ EdgeRight

Vector3 GTA.NaturalMotion.TeeterHelper.EdgeRight
set

Defines the right edge point (right of character facing edge).

Default value = Vector3(39.5f, 39.9f, 21.1f). Min value = 0.0f.

◆ LeanAway

bool GTA.NaturalMotion.TeeterHelper.LeanAway
set

Lean away from the edge based on velocity towards the edge (if closer than 2m from edge).

Default value = True.

◆ LeanAwayScale

float GTA.NaturalMotion.TeeterHelper.LeanAwayScale
set

Scales stay upright lean and hip pitch.

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

◆ LeanAwayTime

float GTA.NaturalMotion.TeeterHelper.LeanAwayTime
set

Time-to-edge threshold to start leaning away from a potential fall.

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

◆ PreTeeterTime

float GTA.NaturalMotion.TeeterHelper.PreTeeterTime
set

Time-to-edge threshold to start pre-teeter (windmilling, etc).

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

◆ TeeterTime

float GTA.NaturalMotion.TeeterHelper.TeeterTime
set

Time-to-edge threshold to start full-on teeter (more aggressive lean, drop-and-twist, etc).

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

◆ UseExclusionZone

bool GTA.NaturalMotion.TeeterHelper.UseExclusionZone
set

Stop stepping across the line defined by edgeLeft and edgeRight.

Default value = True.

◆ UseHeadLook

bool GTA.NaturalMotion.TeeterHelper.UseHeadLook
set

Default value = True.


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