View Single Post
  #2  
Old 09-26-2003, 11:43 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Explaination of for

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
Reply With Quote