About Attributes

Topics regarding Scripting with Reality Factory
Post Reply
Revan2

About Attributes

Post by Revan2 » Thu Sep 22, 2005 3:19 am

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 » Thu Sep 22, 2005 6:32 pm

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 » Tue Sep 27, 2005 9:49 am

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