Forever Command isn't having a attacher below it. I think it should actually have it.
Offline
This:
when gf clicked broadcast [start v] when I receive [start v] forever if <condition 1> whatever else broadcast [start v] end whatever
Last edited by jontmy00 (2012-11-28 08:37:41)
Offline
You can always exit out of a forever loop using the
stop scriptblock, and starting another script that contains what you would have put below the forever loop using broadcasts! The attachment not being there on the forever loop is to help new programmers understand it's function and how it can be used
Offline
Aditya007 wrote:
Forever Command isn't having a attacher below it. I think it should actually have it.
Since the code inside runs forever, it would never reach the outside, so you can't really attach anything to it as those blocks would never be executed. Use a repeat until if you want to leave the loop.
Offline