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

Send new wound information to the shot. Can cause shot to restart it's performance in part or in whole. More...

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

Public Member Functions

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

int BodyPart [set]
 Part ID on the body where the bullet hit. More...
 
bool LocalHitPointInfo [set]
 If true then normal and hitPoint should be supplied in local coordinates of bodyPart. If false then normal and hitPoint should be supplied in World coordinates. More...
 
Vector3 Normal [set]
 Normal coming out of impact point on character. Can be local or global depending on localHitPointInfo. More...
 
Vector3 HitPoint [set]
 Position of impact on character. Can be local or global depending on localHitPointInfo. More...
 
Vector3 BulletVel [set]
 Bullet velocity in world coordinates. 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

Send new wound information to the shot. Can cause shot to restart it's performance in part or in whole.

Constructor & Destructor Documentation

◆ ShotNewBulletHelper()

GTA.NaturalMotion.ShotNewBulletHelper.ShotNewBulletHelper ( Ped  ped)

Creates a new Instance of the ShotNewBulletHelper for sending a ShotNewBullet Message to a given Ped.

Parameters
pedThe Ped to send the ShotNewBullet Message to.

Send new wound information to the shot. Can cause shot to restart it's performance in part or in whole.

Property Documentation

◆ BodyPart

int GTA.NaturalMotion.ShotNewBulletHelper.BodyPart
set

Part ID on the body where the bullet hit.

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

◆ BulletVel

Vector3 GTA.NaturalMotion.ShotNewBulletHelper.BulletVel
set

Bullet velocity in world coordinates.

Default value = Vector3(0.0f, 0.0f, 0.0f). Min value = -2000.0f. Max value = 2000.0f.

◆ HitPoint

Vector3 GTA.NaturalMotion.ShotNewBulletHelper.HitPoint
set

Position of impact on character. Can be local or global depending on localHitPointInfo.

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

◆ LocalHitPointInfo

bool GTA.NaturalMotion.ShotNewBulletHelper.LocalHitPointInfo
set

If true then normal and hitPoint should be supplied in local coordinates of bodyPart. If false then normal and hitPoint should be supplied in World coordinates.

Default value = True.

◆ Normal

Vector3 GTA.NaturalMotion.ShotNewBulletHelper.Normal
set

Normal coming out of impact point on character. Can be local or global depending on localHitPointInfo.

Default value = Vector3(0.0f, 0.0f, -1.0f). Min value = -1.0f. Max value = 1.0f.


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