3
$\begingroup$

In the BGE, I'm trying to send a message from one scene to an overlay scene. The subject in the main scene's actuator matches the overlay scene's sensor. I've also made sure I'm sending the message to the right object (but also tried leaving it blank - sending to all objects - no luck).

The overlay scene doesn't seem to receive the the message at all. I genuinely do not have a clue of what's going on. I thought you could send messages between scenes. The overlay scene is inactive when sending this message btw. It's going to be an inventory screen that's only visible when player presses I (overlay scene).

$\endgroup$
2
$\begingroup$

The scene has to be active in order for objects within it to receive and process messages.

Instead of removing the overlay scene to hide the inventory, you should just move/rotate the camera to look away at some empty space.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.