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

Public Member Functions

 ForceLeanRandomHelper (Ped ped)
 Creates a new Instance of the ForceLeanRandomHelper for sending a ForceLeanRandom 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 LeanAmountMin [set]
 Minimum amount of lean. More...
 
float LeanAmountMax [set]
 Maximum amount of lean. More...
 
float ChangeTimeMin [set]
 Min time until changing direction. More...
 
float ChangeTimeMax [set]
 Maximum time until changing direction. More...
 
int BodyPart [set]
 Body part that the force is applied to. 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

◆ ForceLeanRandomHelper()

GTA.NaturalMotion.ForceLeanRandomHelper.ForceLeanRandomHelper ( Ped  ped)

Creates a new Instance of the ForceLeanRandomHelper for sending a ForceLeanRandom Message to a given Ped.

Parameters
pedThe Ped to send the ForceLeanRandom Message to.

Property Documentation

◆ BodyPart

int GTA.NaturalMotion.ForceLeanRandomHelper.BodyPart
set

Body part that the force is applied to.

Default value = 0. Min value = 0. Max value = 21.

◆ ChangeTimeMax

float GTA.NaturalMotion.ForceLeanRandomHelper.ChangeTimeMax
set

Maximum time until changing direction.

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

◆ ChangeTimeMin

float GTA.NaturalMotion.ForceLeanRandomHelper.ChangeTimeMin
set

Min time until changing direction.

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

◆ LeanAmountMax

float GTA.NaturalMotion.ForceLeanRandomHelper.LeanAmountMax
set

Maximum amount of lean.

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

◆ LeanAmountMin

float GTA.NaturalMotion.ForceLeanRandomHelper.LeanAmountMin
set

Minimum amount of lean.

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


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