Quote:
Originally posted by GoZelda
NPC Code:
for (i=0;i<1;i--){}
if you don't want an uber-lagged level with an infinite for-loop.
[/CODE]
|
Not exactly, serverside it'll give you an error message sent to the NC if the loops excedes 10000 runs after it's done and stop the loop from going further, it wont lag clientside unless you do something to cause it to lag, for(i=0; i<1; i--) wont cause the level to lag on it's own without you doing anything