Author Topic: Multiplayer onheartbeat  (Read 401 times)

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Multiplayer onheartbeat
« on: May 13, 2013, 04:27:49 am »


               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?
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
Multiplayer onheartbeat
« Reply #1 on: May 13, 2013, 07:11:06 am »


               <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>
               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Multiplayer onheartbeat
« Reply #2 on: May 13, 2013, 03:07:22 pm »


               I was nearly certain of that, but I was encountering some funky results when testing on 2 machines.  Thanks Rolo.