Double jump animation help

Mulakk

Member
So basically, I want to not have any spin animation when jumping, and I did it; but I also want that when you double jump (the ability of my character) he spins
Can somebody help me? cause I really don't know how to do that
 

Sonic 12

Sonic 06 fan
So basically, I want to not have any spin animation when jumping, and I did it; but I also want that when you double jump (the ability of my character) he spins
Can somebody help me? cause I really don't know how to do that

You will need to do lua for this.

something like this :

(If it does not work you can dm me.
Or someone else.)

Code:
	addHook("PlayerThink", do
    for player in players.iterate do
		if player.mo and player.mo.skin == "skinname"
		and not P_IsObjectOnGround(player.mo)
		and (player.pflags & PF_THOKKED)
			player.mo.state = S_PLAY_ROLL
		end
	end
end)/CODE]
 
Last edited:

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

Top