This should determine whether or not the player is ducking.
I need this for a script I’m making where Raccoon Mario throws fireballs but unfortunately he can throw them while ducking. I want the option to disable that.
This should determine whether or not the player is ducking.
I need this for a script I’m making where Raccoon Mario throws fireballs but unfortunately he can throw them while ducking. I want the option to disable that. | ||
You can detect it based on its height:
if char(1).pheight<=30 then 'ducking else 'case else end if (for all char(1).status if it is not equal to 1) Programming NPCs in SMBX-38A is fun:
ROCKMAN GIF IN SMBX 38A ![]() | ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||