Suggestion: Dynamic Events
-
and [y] are the coordinates), then the spawned objects could be listening for the same event with their X and Y coordinates. This means that specific spawned objects can be selected without having to loop through each of them. -
Broadcast message with box container containing coordinates of object you wanna select, after received get coords and if coords are equal to box container do what you want it to do? But I think I sort of know what you mean? Would be good to be able to have 2 spawned objects be able to select each other in behaviours without making them collide.
-
@Aidan-Oxley but my point is that every object would receive that message, and every object would get their coordinates and check whether they are equal. With what I'm suggesting, only the object with those coordinates would run those behaviours, because they are the only ones listening for that particular event.
-
This is actually something we were planning on doing. As well as being able to reference objects and dynamically put them into Object A / Object B places, or store them into arrays / dictionaries / attributes etc.
However, this is most likely going to be a few updates away.
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