by Jekyll Grim Payne » Sat Nov 11, 2023 9:11 am
Judging by the structure and implied logic, it seems that returning 0 in
SpecialBounceHit should result in the projectile stopping and exploding. However, that's only true for lines and actors. If the projectile hits a secplane, returning 0 makes it slide along the plane, exactly the same way as returning 1 does. (Tested in 4.11.3)
That seems like an oversight.
Judging by the structure and implied logic, it seems that returning 0 in [url=https://github.com/ZDoom/gzdoom/blob/22203cbc1a9935a03b0d2747a4e76396821f8691/wadsrc/static/zscript/actors/actor.zs#L547]SpecialBounceHit[/url] should result in the projectile stopping and exploding. However, that's only true for lines and actors. If the projectile hits a secplane, returning 0 makes it slide along the plane, exactly the same way as returning 1 does. (Tested in 4.11.3)
That seems like an oversight.