Thread: Invisibility
View Single Post
  #4  
Old 09-16-2012, 03:19 AM
boolean boolean is offline
it wasn't me
boolean's Avatar
Join Date: Sep 2011
Posts: 16
boolean is on a distinguished road
Quote:
Originally Posted by cbk1994 View Post
The main problem with your script is that to keep it working you need to trigger serverside 20 times a second, then have the server trigger every player in the level that same number of times per second. With 50 players in a level, that's 50*20+20=1020 triggers per second which is going to be a really bad thing to do.
I don't plan on ever triggering that much. If I were being creative I'd probably just end up sending one trigger for every player that enters the level, otherwise just sending triggers whenever the weapon fires (to enable/disable alpha). At this stage though, I'd say performance isn't really an issue since I haven't had 50 players in a level at any given time (will have to try that out later). The timeout does is most definitely a hazard though, agree'd.
__________________
Reply With Quote