klanphear Posted February 17, 2015 Share Posted February 17, 2015 Can anyone tell me the difference between choice and choiceedit? thanks Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 17, 2015 Share Posted February 17, 2015 Choice is a fixed list. With choiceedit, you can fill in other values besides the available list. 1 Quote Link to comment Share on other sites More sharing options...
klanphear Posted February 18, 2015 Author Share Posted February 18, 2015 Are there any examples or documentation available? I know how to use choice just not clear on how to use choiceedit. Does it allow user to change choice label values? Does it change the 0,1,2.... to what ever you want to use eg.. 0 would be apples, 1 oranges? Are there any used in flogui scripts? I have the download. thanks Also nice work on the flogui scripts AggorJorn. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 18, 2015 Share Posted February 18, 2015 Choice is an integer, choiceedit is a string. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
klanphear Posted February 19, 2015 Author Share Posted February 19, 2015 so would it be? fruit = "apple" --choiceedit "fruit" "apple, banana, ..." love Leadwerks by the way. Hours of fun. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2015 Share Posted February 19, 2015 Here's an example: Script.teamid="Neutral"--choiceedit "Team" "Neutral,Good,Bad" 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
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.