|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
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 |
A shot, reported on the projectile's first step.
The same hook feeds this, so no extra install is needed.
| uint64_t ShShot::shooter |
entity that fired, or 0
| int ShShot::kind |
kind of shooter
| int ShShot::byPlayer |
the local player fired it
| ShVec3 ShShot::origin |
muzzle, where the bullet began
| ShVec3 ShShot::dir |
unit vector of travel
| float ShShot::yaw |
degrees, 0 along +X
| float ShShot::pitch |
degrees, positive is up
| float ShShot::range |
the weapon's max range
| uint64_t ShShot::projectile |