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
  #4  
Old 05-11-2007, 06:43 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Why would you want to keep the VARIABLE data?
Here:
HTML Code:
function onCreated()
{
  temp.myList = {"hey", "hi", "lol"};
  for (currentItem: temp.myList)
    echo(currentItem);
  echo(currentItem);
  scheduleevent(3, "Repeat", "");
}
function onRepeat()
{
  echo(currentItem);
}
using temp. prefix's won't STORE the VARIABLE data.
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 08:35 AM.


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