View Full Version : Run time input
nihit
10-10-2009, 11:44 AM
Hi,
I am new to Alice and was wondering whether there is a facility to take inputs after we press the 'play' button... if it is there then how to use it and if not then what is the alternative?
x2495iiii
10-10-2009, 01:08 PM
When you say "make inputs," do you mean add objects or control objects already in the world.
You can't add objects, but you can control objects by adding events (the add event button is in the upper-right corner).
nihit
10-11-2009, 11:23 AM
I meant to say that can we let a variable be 'x' initially and ask for a value while executing the code... like a run time input?
x2495iiii
10-11-2009, 02:13 PM
There are three "ask user" functions (number, string, and yes or no) which can be used to do things like that, yes. Those commands are found in the functions tab for the world.