Here is the code for the listening object, with proof I recieved the email.
The object is listening on channel 1337 for the scan to announce the results. This is then added to a list and emailed to the set account.
Friday, 11 November 2011
Friday, 4 November 2011
Week 7
Today we were making our own gestures.
Since I was costumed as a robot, I decided to make the robot dance.
Used start "Away" gesture, then wait 5 secs, then stop "Away" gesture.
Then a wait till animation stopped command initiated "dance 8", athen another wait till animation command initiated "backflip". Finally another "Away" command is added to finish it.
It was set as /robot. I could have set it to shift/ctrl f3 if I wanted. There is also a command to add text to chat channel and sounds to be played.
Since I was costumed as a robot, I decided to make the robot dance.
Used start "Away" gesture, then wait 5 secs, then stop "Away" gesture.
Then a wait till animation stopped command initiated "dance 8", athen another wait till animation command initiated "backflip". Finally another "Away" command is added to finish it.
It was set as /robot. I could have set it to shift/ctrl f3 if I wanted. There is also a command to add text to chat channel and sounds to be played.
Tuesday, 1 November 2011
Week 5
Todays lab was all about lists and notecards. Part 1 invloved a prim recording the name, key and speed of an object colliding with it. Part 2 was presenting this into a chat channel. I combined both into the following code.
Created a list as a global variable. then created each of the functions as strings. I then made an int to count the list length and used a for loop to step through each word and present to owner.
Created a list as a global variable. then created each of the functions as strings. I then made an int to count the list length and used a for loop to step through each word and present to owner.
Subscribe to:
Posts (Atom)


