I don't think there's any proper way to do it but, you could try this:
Code:
if player.powers[pw_shield] == SH_JUMP // check for shield
and player.pflags & PF_THOKKED // whirlwind shield jump gives this flag
and player.panim == PA_FALL // check if the player is in the falling animation to not mistake it with a simple thok
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.