IgeNiaI / Q-Zandronum

A Zandronum 3.0 fork with improved netcode, configurable movement and many small tweaks
Other
76 stars 8 forks source link

Expose VelIntercept to ACS. #337

Closed TDRRmk2 closed 6 months ago

TDRRmk2 commented 6 months ago

[[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.