Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-30-2007, 05:46 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
What I think about that is using a global variable...

PHP Code:
function thing()
{
  
stack.add"thing" );
  
test1();
  
stack.deletestack.size() - );
}

function 
test1()
{
  
stack.add"test1" );
  
test2();
  
stack.deletestack.size() - );
}

function 
test2()
{
  
stack.add"test2" );
  echo( 
stack );
  
stack.deletestack.size() - );

I do believe that temp.name returns the name of the function... But I can't verify this right now... But if you'll be using this, I would recommend you try it out.

What you want, however, isn't currently available in Graal, nor do I believe that it will be.
Reply With Quote
Reply


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 09:44 AM.


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