PDA

View Full Version : Return,Random Number Text, Letter Input


Sharpie
04-20-2014, 08:49 PM
After adding a return segment to an If/Else how do I change it into a true/false selection? Pressing the arrow-key brings up all other options except a true/false.

http://i60.tinypic.com/15rbm9e.png

How does an object randomly change numbers after a method is finished? For instance, I want an object to say "5" then same object to say "7" for next method. I've used parameters but it ended up calling the starting numbers twice in a row instead.

And is there a custom-way of adding letters in an input event? Alice is apparently missing the letters "i" and "L" from the drop-down menu selection.

jrrTolkien
04-20-2014, 09:41 PM
In 'world' in the 'functions' tab, there is a 'random number' area. Create a numerical variable, then drag the variable down, and say set variable to... (choose any number) and then drag the 'random number' in where the original number. I attached a few images showing the whole process.

-jrr

jrrTolkien
04-20-2014, 09:42 PM
For true or false, you must create a function (Boolean), and drag an if/else, then say, if (something), return true. The return is at the bottom of the screen. Also, where else goes, put return false. I also had a screenshot of that in the last post.

-jrr