AggrorJorn Posted March 27, 2013 Posted March 27, 2013 Besides all the bugs that are currently happening with Lua properties: Default values error: http://www.leadwerks...et-for-vectors/ Material crash: http://www.leadwerks...material-crash/ Entity property doesn't work: http://www.leadwerks...lecting-entity/ Path filter doesn't work: http://www.leadwerks...er-doesnt-work/ I have some issues with creating 'Choice' and 'Edit Choice' properties in Lua. The dropdown is not filled with my options. The documentation specifies the following: Script.mode = nill --choice "Mode" "Happy,Angry,Sad,Thoughtful" I tried the following: Script.mode = --choice "a choice" "Happy,Angry,Sad,Thoughtful" Script.mode = 0 --choice "a choice" "Happy,Angry,Sad,Thoughtful" Script.mode = "" --choice "a choice" "Happy,Angry,Sad,Thoughtful" Script.mode = nill --choice "a choice" "Happy,Angry,Sad,Thoughtful" This doesn't do anything at all. Either the documentation is wrong or it is another bug. Has anybody been able to successfully do this? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.