The host isn't receiving the broadcast message!

Just started using Construct 2? Post your questions here

Post » Thu Jan 21, 2016 9:01 pm

Hello!
How can i make the host receive the broadcast message sent from himself?
I mean, i want to send a "peer message" that will be received by ALL the connected players, including the host.

I think that it's very simple but i don't know how to do without using multiple lines :c
Thanks :)
B
3
Posts: 4
Reputation: 187

Post » Wed Jan 27, 2016 4:30 am

Hey Cintra.

There is a difference in the way that Hosts send messages and how Peers do, see my tute for a bit more info on the topic.

https://www.scirra.com/tutorials/1432/g ... ayer-games

I cant imagine why you would need to send a message to yourself but still you have two options:

1.) Create a sub event to the message sent by the host and add what you are trying to do to that.

2.) Create a bounce event, so the host sends a message and when the peer receives it automatically sends a message back that when received does what you want.
ImageImage
B
108
S
23
G
7
Posts: 1,062
Reputation: 12,683


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests