Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 user defined property to script variables 
hde


Joined: 08 Oct 2007
Posts: 46
Reply with quote
- as example i create a script varaibale for Text2D and name it also Text2D
- now i extend this script Variable with Lua (or with Awakening ?) with a user defined property as example Text2D.myVariable
- this property .myVariable is now listed in the user interface
- i can animate this property like any other standard property like scale or transparence
View user's profile Send private message
  
Vincent


Joined: 25 Dec 2006
Posts: 296
Reply with quote
Good idea, we'll consider this, thanks!
LUA is a flexible language, you can freely add property to existing script variable. For example, Text2D.note='my comments'.
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic