View Single Post
  #6  
Old 07-19-2011, 10:02 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by ffcmike View Post
Not really that important especially with it only being an example but just for the sake of giving others the idea, if you are using dontblock serverside you don't need to be using it clientside, the same would also apply with drawoverplayer and most of the variable setting functions as the data is synchronised.
In theory it's better to have all of these serverside in the event of it being a static (motionless for example) NPC such as a light, this way it's only the specific variables being sent to clients rather than the script itself, which involves less data transfer.
For some reason I thought that if dontBlock was set serverside it still blocked on clientside. I didn't even know drawOverPlayer existed serverside. Tested it, and you're right. Thanks for the tips .
__________________
Reply With Quote