Sign In Register

How can we help you today?

Start a new topic
Answered

Server sending data periodically to Match

 Hello guys,

I have a question. How can I send data periodically from the server to all players in a match?

What I want to do is, every 5 seconds, create an object at a random position in the screen, but it needs to be the same position for all players. So all players have to see that object in the same position.

I understand how this works when a player is the one who creates the object (like a bullet for example). But in my case no player should be creating these objects, they should be created by the scene itself (the server I asume), because these objects belong to the scene, not to any player.

Thank you in advance!


Best Answer
Hi,
I just wanted to let you guys know that I figured it out. I use RTSession.setInterval in my RTScript.
Thanks! :)

 

1 Comment

Answer
Hi,
I just wanted to let you guys know that I figured it out. I use RTSession.setInterval in my RTScript.
Thanks! :)

 

Login to post a comment