[[address(168)]] void VelIntercept (int tid, int target, fixed speed, bool usePtr = false)
I originally had picked the version from GZDoom but after testing it was a bit hard to get it working properly, so I just took it from this version of P_Thing_Projectile.
Self-explanatory besides useptr, which simply changes target to a pointer selector field. Not useful for bots but it might come in handy if some mod wants to use it for monsters.
[[address(168)]] void VelIntercept (int tid, int target, fixed speed, bool usePtr = false)
I originally had picked the version from GZDoom but after testing it was a bit hard to get it working properly, so I just took it from this version ofP_Thing_Projectile
.Self-explanatory besides
useptr
, which simply changestarget
to a pointer selector field. Not useful for bots but it might come in handy if some mod wants to use it for monsters.