How do I check whether or not the whirlwind jump was used?

Status
Not open for further replies.
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
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top