Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-19-2008, 09:38 AM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
odd problem i think

when i update my "Control-NPC" it says this

Quote:
The script of NPC Control-NPC has been updated by Graal707396
al,ac,at
inside the Control-NPC is this

PHP Code:
function onActionPlayerOnline()
  {    
    for (
temp.i: ({"tileset""chat profiles"}))
      
player.addweapon(i);
    
    
player.setlevel2("onlinestartlocal.graal"29.529.5);
  } 
why does it do that?? it is doing my sorting weapon script everytime i update it, here is my sorting npc weapon

PHP Code:
function onCreated() 
  {
    
temp.= {{"ac"4}, {"at"7}, {"al"1}};
    
temp.= {};
    
temp.null;
    
    for (
temp.ia
      {
        
e.add(i[0]);
        
e[c].sortvalue i[1];
        
c++;
      }
    
e.sortbyvalue("sortvalue""float"true);
    echo(
e);
  } 
why does it keep echoing it??
Reply With Quote
 


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 07:57 AM.


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