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

Public Member Functions

 ShotHeadLookHelper (Ped ped)
 Creates a new Instance of the ShotHeadLookHelper for sending a ShotHeadLook 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 UseHeadLook [set]
 Use head look. Default: looks at provided target or if this is zero - looks forward or in velocity direction. If reachForWound is enabled, switches between looking at the wound and at the default target. More...
 
Vector3 HeadLook [set]
 Position to look at with headlook flag. More...
 
float HeadLookAtWoundMinTimer [set]
 Min time to look at wound. More...
 
float HeadLookAtWoundMaxTimer [set]
 Max time to look at wound. More...
 
float HeadLookAtHeadPosMaxTimer [set]
 Min time to look headLook or if zero - forward or in velocity direction. More...
 
float HeadLookAtHeadPosMinTimer [set]
 Max time to look headLook or if zero - forward or in velocity direction. 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

◆ ShotHeadLookHelper()

GTA.NaturalMotion.ShotHeadLookHelper.ShotHeadLookHelper ( Ped  ped)

Creates a new Instance of the ShotHeadLookHelper for sending a ShotHeadLook Message to a given Ped.

Parameters
pedThe Ped to send the ShotHeadLook Message to.

Property Documentation

◆ HeadLook

Vector3 GTA.NaturalMotion.ShotHeadLookHelper.HeadLook
set

Position to look at with headlook flag.

Default value = Vector3(0.0f, 0.0f, 0.0f).

◆ HeadLookAtHeadPosMaxTimer

float GTA.NaturalMotion.ShotHeadLookHelper.HeadLookAtHeadPosMaxTimer
set

Min time to look headLook or if zero - forward or in velocity direction.

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

◆ HeadLookAtHeadPosMinTimer

float GTA.NaturalMotion.ShotHeadLookHelper.HeadLookAtHeadPosMinTimer
set

Max time to look headLook or if zero - forward or in velocity direction.

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

◆ HeadLookAtWoundMaxTimer

float GTA.NaturalMotion.ShotHeadLookHelper.HeadLookAtWoundMaxTimer
set

Max time to look at wound.

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

◆ HeadLookAtWoundMinTimer

float GTA.NaturalMotion.ShotHeadLookHelper.HeadLookAtWoundMinTimer
set

Min time to look at wound.

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

◆ UseHeadLook

bool GTA.NaturalMotion.ShotHeadLookHelper.UseHeadLook
set

Use head look. Default: looks at provided target or if this is zero - looks forward or in velocity direction. If reachForWound is enabled, switches between looking at the wound and at the default target.

Default value = False.


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