Simon_T
Pyro the Setsuna Fan
I'm trying to make an Whirlwind Shield-like second ability for an Super Tails character WAD (it's a private project), but I don't know how to use the P_DoJumpShield function (idk what is "player_t")
This is my example code, what I'm doing wrong? :'V
This is my example code, what I'm doing wrong? :'V
Code:
addHook("ThinkFrame", do
for player in players.iterate
if player.mo and player.mo.skin == "testchar"
if player.cmd.buttons & BT_USE
and (player.pflags & PF_JUMPED)
and not player.exiting
P_DoJumpShield(player.mo)
end
end
end
end)