Two Receivers, inside one object, only one works?
-
I have two receivers inside one object.
Both are listening to the same message.
One of them works, the other doesn't.
Why is this?
@Deeeds I haven’t tried this, but maybe an object can only listen to a broadcasted message once. You shouldn’t be doing this anyway, if you have two separate events in the same object after receiving a message, they should both be under the same receive message.
-
@Deeeds I haven’t tried this, but maybe an object can only listen to a broadcasted message once. You shouldn’t be doing this anyway, if you have two separate events in the same object after receiving a message, they should both be under the same receive message.
-
@Aidan-Oxley "should"...
But imagine I want to turn one of them off, sometimes, and the other one always do thing.
Speaking of "should"...
This should work.
It should be possible to "overload" message receipt.
@Deeeds You want to turn one of the receivers off? Then instead of having two receivers, have one receiver with two Behaviour Bundles underneath, then turn on and off the behaviour bundle you want.
-
@Deeeds You want to turn one of the receivers off? Then instead of having two receivers, have one receiver with two Behaviour Bundles underneath, then turn on and off the behaviour bundle you want.
-
@Aidan-Oxley I've already tried this. But Behaviour Bundles have a bit of a bug when it comes to passing through the received message to conditionals. They don't.
@Deeeds That’s weird. Maybe you could try using Wait (zero seconds) instead of behaviour bundles?
-
@Deeeds That’s weird. Maybe you could try using Wait (zero seconds) instead of behaviour bundles?
-
Could there have been a space or anything like that? I don't think that we're doing any sanitizing on the text... we should though!
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