Display a variable using a command
Hulkman508
14 Sept 2011, 05:19What I'm looking for is being able to display a variable using a command. To add a touch to my game I want a bunch of 'sideline' variables. But I want the player to know these variables simply through a command. I know I can do "If .... is equal to 1 then print blah blah else if ..... is equal to 2 print and so on, but I was wondering if theres and easier way.
And also if its possible can you turn status variables on and off? I'm going to have a turn counter in my game and wanted to give players the options to toggle them on and off.
If anyone could help that would be great.
And also if its possible can you turn status variables on and off? I'm going to have a turn counter in my game and wanted to give players the options to toggle them on and off.
If anyone could help that would be great.
Alex
14 Sept 2011, 07:33You can use "select case" instead of a bunch of "if"s.
You can't turn status variables on or off in Quest 4 (you could do this in Quest 5 though).
You can't turn status variables on or off in Quest 4 (you could do this in Quest 5 though).
Hulkman508
15 Sept 2011, 05:08Thanks, I'm kind of new to Quest and didn't really know about select cases (I did read the tutorial, but . . .) This is really convenient and a lot tidier for my game
.
