Replies: 7 comments 3 replies
every 20 ticks do
if condition then break end
-- do guarded logic here
end |
0 replies
every 20 ticks do
if condition then continue end
-- do guarded logic here
end |
1 reply
every 20 ticks do
if condition then skip to end
-- do guarded logic here
end |
0 replies
every 20 ticks do
skip if condition
-- do guarded logic here
end |
2 replies
exception-based control flow would totally work for this |
0 replies
every 20 ticks do
if condition then stop end
-- do guarded logic here
end |
0 replies
every 20 ticks do
if condition then halt end
-- do guarded logic here
end |
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.
https://discord.com/channels/967118679370264627/1539347023311011870/1539347023311011870
#597
SFM does not yet have a "continue" function to end the execution of the current trigger.
Short-circuit-style statements like
are currently not possible, you must currently instead just guard the logic with the if statement like
All reactions