Aller au contenu

Photo

Multiplayer onheartbeat


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
3RavensMore

3RavensMore
  • Members
  • 704 messages
In a MP game does the module onheartbeat script run once per heartbeat just on the hosting machine or once per heartbeat on the hosting machine AND the other players machines?

#2
Rolo Kipp

Rolo Kipp
  • Members
  • 2 791 messages
<hoping osmosis...>

I'm no MP guru, but I think I've absorbed this knowledge somewhere reasonably accurate; scripts are server-side (the host), so it's the hosts heartbeat only.

<...works>

#3
3RavensMore

3RavensMore
  • Members
  • 704 messages
I was nearly certain of that, but I was encountering some funky results when testing on 2 machines. Thanks Rolo.