I'm thinking of a block which will encase a script, like a forever block, but with the little tab at the bottom. The encased script will only peform its function if such and such is the same ALL THE TIME. Think about it!
Offline
Happypieman wrote:
I'm thinking of a block which will encase a script, like a forever block, but with the little tab at the bottom. The encased script will only peform its function if such and such is the same ALL THE TIME. Think about it!
![]()
I have thought of this before, but I found it is impossible for the block to tell the past and feauter. Not even a human can tell that!
Offline
Pecola1 wrote:
Happypieman wrote:
I'm thinking of a block which will encase a script, like a forever block, but with the little tab at the bottom. The encased script will only peform its function if such and such is the same ALL THE TIME. Think about it!
![]()
I have thought of this before, but I found it is impossible for the block to tell the past and feauter. Not even a human can tell that!
I don't know if i have explained it clearly! What i mean is that every time it goes to perform a specific action, it will check to see if such and such is still what it should be. If it is, it will perform the action and move onto the next block. If the value has changed, it will terminate the action. I think that when this occurs, all of the previous actions will have happened already (i may be getting a little confusing now but...)
There, now i've had my rant!
Offline
You can get across this by using the Forever If block and broadcasting, I'm pretty sure...
Offline
Yep, the regular Forever block, a little broadcasting, and maybe even the If have already made this possible.
Offline
PaperMario123 wrote:
Yep, the regular Forever block, a little broadcasting, and maybe even the If have already made this possible.
Yeah, but wouldn't it be a little more convenient, and aso reduce the size of the file if the sprite is doing a lot of actions that need checking.
Offline
Happypieman wrote:
Pecola1 wrote:
Happypieman wrote:
I'm thinking of a block which will encase a script, like a forever block, but with the little tab at the bottom. The encased script will only peform its function if such and such is the same ALL THE TIME. Think about it!
![]()
I have thought of this before, but I found it is impossible for the block to tell the past and feauter. Not even a human can tell that!
I don't know if i have explained it clearly!
What i mean is that every time it goes to perform a specific action, it will check to see if such and such is still what it should be. If it is, it will perform the action and move onto the next block. If the value has changed, it will terminate the action. I think that when this occurs, all of the previous actions will have happened already (i may be getting a little confusing now but...)
There, now i've had my rant!![]()
Ooooohhh... so every single block it checks. Only way to do that now is by putting a bunch of if's around every block and then put that into a forever if.
This could be helpful.
However it is usually necessarily to complete the process before stopping.
Offline