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
  #4  
Old 11-21-2008, 07:58 PM
Raeiphon Raeiphon is offline
I never asked for this.
Join Date: Jun 2005
Posts: 855
Raeiphon is on a distinguished road
That does it perfectly, Novo.

Thanks a ton. I'll spend some time dissecting that script.

On a completely unrelated note, is it possible to call a string as a function - and on that train of thought, is it possible to use a string to mask an object so I can access that object's attributes?

Say foo = "calculate()", and I have a function of the same value. Is there any way of using foo to execute that function?

For the second one, say I had a string foo = "Command". This is in a class - and it's linked to a script with a gui element named Command. Is there some way of going foo.text (therefore linking Command.text)?
__________________

I hope for nothing. I fear nothing. I am free.
Reply With Quote
 

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 04:59 AM.


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