srb2lover2018
Member
I need help with this lua for my character im working on:
addHook("PlayerThink", function(player)
If player.mo and player.mo.skin == "circuitmetal"
and player.mo.state == S_PLAY_FALL
and(player.cmd.buttons & BT_JUMP)
then player.mo.state = S_PLAY_JUMP
end
end
end)
It's a recurl that makes you go into jump state after being launched by a spring
addHook("PlayerThink", function(player)
If player.mo and player.mo.skin == "circuitmetal"
and player.mo.state == S_PLAY_FALL
and(player.cmd.buttons & BT_JUMP)
then player.mo.state = S_PLAY_JUMP
end
end
end)
Post automatically merged:
It's a recurl that makes you go into jump state after being launched by a spring