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

SetFrictionScale:. More...

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

Public Member Functions

 SetFrictionScaleHelper (Ped ped)
 Creates a new Instance of the SetFrictionScaleHelper for sending a SetFrictionScale 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 Scale [set]
 Friction scale to be applied to parts in mask. More...
 
float GlobalMin [set]
 Character-wide minimum impact friction. Affects all parts (not just those in mask). More...
 
float GlobalMax [set]
 Character-wide maximum impact friction. Affects all parts (not just those in mask). 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...
 

Detailed Description

SetFrictionScale:.

Constructor & Destructor Documentation

◆ SetFrictionScaleHelper()

GTA.NaturalMotion.SetFrictionScaleHelper.SetFrictionScaleHelper ( Ped  ped)

Creates a new Instance of the SetFrictionScaleHelper for sending a SetFrictionScale Message to a given Ped.

Parameters
pedThe Ped to send the SetFrictionScale Message to.

SetFrictionScale:.

Property Documentation

◆ GlobalMax

float GTA.NaturalMotion.SetFrictionScaleHelper.GlobalMax
set

Character-wide maximum impact friction. Affects all parts (not just those in mask).

Default value = 999999.0f. Min value = 0.0f. Max value = 1000000.0f.

◆ GlobalMin

float GTA.NaturalMotion.SetFrictionScaleHelper.GlobalMin
set

Character-wide minimum impact friction. Affects all parts (not just those in mask).

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

◆ Mask

string GTA.NaturalMotion.SetFrictionScaleHelper.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".

◆ Scale

float GTA.NaturalMotion.SetFrictionScaleHelper.Scale
set

Friction scale to be applied to parts in mask.

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


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