What are when/do statements? How do I use them?
Kode Kwestions is in beta so some of the participant restrictions are currently eased!
New to Kodu Kwestions?
Kodu Kwestions is a collective knowlege management site where anyone can ask and answer qwestions about Kodu Game Lab
-
Log in to leave a Comment |
|
(0)
Answers
1
Votes
0
Views
546When and Do statements
- c
- compose new post
- j
- next post/next comment
- k
- previous post/previous comment
- r
- reply
- e
- edit
- o
- show/hide comments
- t
- go to top
- l
- go to login
- h
- show/hide help
- esc
- cancel


When and Do statements are the way you tell your bots how to react in different circumstances.
For example, you might elect to program a Cyclebot, so that WHEN he SEES and APPLE, his DO action should be to EAT it.
When and Do instructions simply direct a bot or an object to act in a certain way when they interact with another bot or object.