View Single Post
  #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