• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - GML Visual [SOLVED] Each time I drag an "If" statement, "Empty" appears in red

F

frostypop

Guest
I am just running though some of the Beginner tutorials, and each time I drag and If statement block to the work area, a small red world "Empty" appears next the the input area of the number I want to input for the variable. Nothing gets rid of it and then when I run the game, the code is not executed.

Any ideas?
 

Attachments

Don't you have to finish the if statement? At the moment isn't it just saying:
if variable equals 0
But then doesn't do anything with it?
Even though I don't use Drag n Drop I think you have to create at least one outcome from that if statement, like this example from the manual:
upload_2017-8-10_14-1-4.png
 
F

frostypop

Guest
@babia Thanks. I'll try that but I think I did complete it (if it is < 0) then destroy the instance (but I deleted that part) when I was testing to see what exactly might be causing the issue.
 
F

frostypop

Guest
@babia seems to work. I think I dragged the box to wrong area. Thanks!
 
Top