Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-20-2005, 09:10 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
for

I basically know how to use the new for function but I have a question.


It's supposed to replace the with command but I am not sure exactly how one is supposed to actually do a function with it, though setting variables i an do.

I think it is something like this:
NPC Code:

for (pl: players) {
pl.setlevel2(level,x,y);

}


But I am not sure if that's right. I ahve been trying it like that but my results are inconclusive, can someone tell me if this is right, and if not, the proper way to do it?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.