Rodriv64
Member
Hello, i'm trying to make a lua script that makes sonic float and move in any direction whenever using the Whirlwind shield, but i don't know to to make a character float, can someone help me?
Btw, here's the code:
I am struggling with this, ok?
Btw, here's the code:
Whirwind Float:
addHook("PlayerThink", function(player)
if player.powers[pw_shield] == SH_WHIRLWIND
if player.pflags & PF_SHIELDABILITY
and p.mo.state == S_PLAY_JUMP
p.float = true