Hey guys,
I've been looking at and trying to follow some of the great tutorials you guys have made (I'm using the 3.1 Indie edition) and I have a couple of (really!) basic questions.
E.g. in the excellent "Introduction to Lua tutorial by Aggror there were a couple of lines of code that didn't work as was done in the tutorial code.
"Script.mood = "Happy, Angry, Sad" --choice"
and
"Script.monster = "Vampire, Zombie, Ghost" --choiceedit"
Did not produce the expected result in the editor. They created the --choice and --choiceedit fields on the script properties tab, but with no selectable values.
By looking at some other scripts I was able to find the proper (for 3.1 Indie version at least) syntax to be:
Script.mood = --choice "Mood" "Happy, Angry, Sad"
and
Script.monster = Vampire --choiceedit "Monster" "Vampire, Zombie, Ghost"
Anyway, my question is as follows. I've tried to find any documentation for these "--choice" and "--choiceedit" (and any other available) type of directives.
I'm sure it's there somewhere, I just haven't been able to find it.
So can anyone point me in the right direction to look for this documentation please?
Thanks!