View Single Post
  #24  
Old 08-06-2003, 05:36 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Python523
Just becuase the run time isn't big, doesn't mean it isn't lagging the server technically
Okay. Then how will it lag the server?


Quote:
why shouldn't you run a timeout loop? Because the Control-NPC already gets a ton of actions, everytime a projectile lands it gets an event, for an example I mean, why but unneeded stuff on it, it's just distracting the NPC from doing other functions
'Distracting'? You realise that it's all handled by one processing unit? The processor has to do just as much work whichever NPC contains the code. The CNPC only needs to do stuff when it is being called. If something else is being processed during that call then it doesn't matter which NPC is doing the processing.

Quote:
also, everytime the control-npc is called with a trigger, it 'warps' to the point that called the trigger
1) The warping is only a way to describe its behaviour, it doesn't actually warp anywhere because it doesn't have a physical presence.
2) The 'warping' isn't processor-intensive.
3) Giltwist's script doesn't involve triggering the server.
__________________
Reply With Quote