|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
Bullets often strike a child part, so root is resolved for you and is the one worth acting on. More...
#include <scripthook.h>
Data Fields | |
| uint64_t | entity |
| validated against its own id | |
| uint64_t | root |
| top of the parent chain | |
| int | kind |
| kind of root, an ShEntityKind | |
| uint32_t | id |
| entity+0x138 | |
| ShVec3 | pos |
| impact point | |
| ShVec3 | normal |
| surface normal | |
| float | distance |
| along the bullet's flight | |
| uint64_t | shooter |
| who fired it, 0 if unknown | |
| int | byPlayer |
| the local player fired it | |
| uint64_t | projectile |
| int | index |
| record index in the list | |
Bullets often strike a child part, so root is resolved for you and is the one worth acting on.
| uint64_t ShHit::entity |
validated against its own id
| uint64_t ShHit::root |
top of the parent chain
| int ShHit::kind |
kind of root, an ShEntityKind
| uint32_t ShHit::id |
entity+0x138
| ShVec3 ShHit::pos |
impact point
| ShVec3 ShHit::normal |
surface normal
| float ShHit::distance |
along the bullet's flight
| uint64_t ShHit::shooter |
who fired it, 0 if unknown
| int ShHit::byPlayer |
the local player fired it
| uint64_t ShHit::projectile |
| int ShHit::index |
record index in the list