Other than Patrol, how to make repeating series of actions
-
@Murtaza said in Other than Patrol, how to make repeating series of actions:
That is the difference. It all depends on how your behaviours are set up.
Additionally the key component earlier (which was part of my last reply) is that a value behaviour will only store the value once it has been executed.Please look closely at the example that @Aidan-Oxley and I have been experimenting with.
It seems to disprove your "only stored when executed", since both his fully working example and mine are interacting with the Value Behaviour and getting updated values, despite not executing the behaviour in subsequent updates.
@Aidan-Oxley
Try this.
Using the same structure as before, use a messaging object to activate spawns.
Place the Value and its code for flashing its object in an.... object.
Now spawn a few of these onto your screen.
Make a button, one that sends a message to the spawns to operate their flashing. START, in my example.
This is the scenario where this is failing for me.
-
@Aidan-Oxley
Try this.
Using the same structure as before, use a messaging object to activate spawns.
Place the Value and its code for flashing its object in an.... object.
Now spawn a few of these onto your screen.
Make a button, one that sends a message to the spawns to operate their flashing. START, in my example.
This is the scenario where this is failing for me.
@Deeeds @Murtaza There is definitely something strange happening here. It only happens when you start to spawn more of these objects with the flash cycle behaviours.
Have a look in this project: http://bit.ly/E04bqD
Tap the green object to make the blue objects flash (5 times). After you see that work normally, maybe try it again, just in case. Then, tap on the blue objects to spawn duplicates of themselves to the right. Then tap the green box and watch the blue objects fail to cycle properly (specifically, the original ones act a little strange, but only for the first time, any other cycles after that work fine, and only after they spawn duplicates). Tap the green object again, the spawned blue objects will only flash once, while the originals do it all 5 times.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login