About Attributes

Topics regarding Scripting with Reality Factory
Post Reply
Revan2

About Attributes

Post by Revan2 »

Hi....

someone can say me if i can get/set attributes with strings?

ie: SetAttribute("myattribute", "mystring");

Thanks :)
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

this is not possible.

But i think the next release will support a command called SetGlobal() that sets a variable that is readable by any script. Then you could make a global that is a string.
Everyone can see the difficult, but only the wise can see the simple.
-----
Lupus
Posts: 10
Joined: Tue Sep 27, 2005 9:17 am

Post by Lupus »

I have code for this... I just can't quite remember if I passed it along or not. It's been a few months.
Life is the software of reality...
If you think it isn't fair, ask God to hack the code!
Post Reply