GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
Loading...
Searching...
No Matches
ShShot Struct Reference

A shot, reported on the projectile's first step. More...

#include <scripthook.h>

Data Fields

uint64_t shooter
 entity that fired, or 0
int kind
 kind of shooter
int byPlayer
 the local player fired it
ShVec3 origin
 muzzle, where the bullet began
ShVec3 dir
 unit vector of travel
float yaw
 degrees, 0 along +X
float pitch
 degrees, positive is up
float range
 the weapon's max range
uint64_t projectile

Detailed Description

A shot, reported on the projectile's first step.

The same hook feeds this, so no extra install is needed.

Field Documentation

◆ shooter

uint64_t ShShot::shooter

entity that fired, or 0

◆ kind

int ShShot::kind

kind of shooter

◆ byPlayer

int ShShot::byPlayer

the local player fired it

◆ origin

ShVec3 ShShot::origin

muzzle, where the bullet began

◆ dir

ShVec3 ShShot::dir

unit vector of travel

◆ yaw

float ShShot::yaw

degrees, 0 along +X

◆ pitch

float ShShot::pitch

degrees, positive is up

◆ range

float ShShot::range

the weapon's max range

◆ projectile

uint64_t ShShot::projectile

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