Jump to content
Sign in to follow this  
Valour4Eva

LOGIC Script idea: SKIP

Recommended Posts

Is there currently a "SKIP" logic in the game? It could be INCREDIBLY useful when trying to bypass complete sections of codes, such as:

image.thumb.png.f8d745b035ab242fff0fba0585da1a59.png

Edited by Valour4Eva

Share this post


Link to post
Share on other sites

I'm not sure I understand. So I will put the answers to the possible questions...

You can put "enable game logic _____ false" within the if instructions if you need to stop a game logic.

There are tiles to end loops called "Break out of loop" but that isn't really for IF.

The script should stop at the first If that is true, as far as I know. Someone told me it definitely checks the "Else if"s in order.

Share this post


Link to post
Share on other sites
9 hours ago, ocnoglittle said:

I'm not sure I understand. So I will put the answers to the possible questions...

You can put "enable game logic _____ false" within the if instructions if you need to stop a game logic.

There are tiles to end loops called "Break out of loop" but that isn't really for IF.

The script should stop at the first If that is true, as far as I know. Someone told me it definitely checks the "Else if"s in order.

Sorry, I was thinking of "SKIP" commands instead of "END IF". The OP has just been edited to reflect that

Edited by Valour4Eva

Share this post


Link to post
Share on other sites

if the "if" logic check result is false, it will skip what is "inside". Did you try to use instructions ?

Share this post


Link to post
Share on other sites

We figured it out but forgot to update this thread. This was my solution (so B and C are still independent but if A is true, it skips both):

Ylands_201030_220305.png

Edited by ocnoglittle

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×