how to make a flight cancel #240
Pinned
SonicVHSOfficial
started this conversation in
Show and tell
Replies: 2 comments
-
|
It's pretty simple. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Noice |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so tails in orbinaut 2 does not have a flight cancel so I'm going to show you guys how
first create a new script to handle your flight cancel(name it as you please)
function my_cool_script()then ill cut to the chase here but you can copy this code here to your script
``function my_cool_script()
{
// Only process if flight is active
if (action != ACTION_FLIGHT || flight_timer <= 0)
{
return false;
}
}`
then in obj_player in user_event 0, add it to your airborne scripts
`case false:
Beta Was this translation helpful? Give feedback.
All reactions