BehaviourComposer: ignore everything before this. Begin micro-behaviour Begin description:Jump forward in the direction of my heading. End description Jump forward Begin NetLogo code:substitute-text-area-for distance-moved 10go-forward distance-movedEnd NetLogo code VariantsYou can change the contents of the text area to another number or the value of a parameter(see Parameter). Using a negative value will jump backwards instead. You can make the agent jump forward a random amount by using random-number-between 2 5 in the text area. You can enhance this behaviour to occur repeatedly by clicking on the 'Enhance' menu item. Related Micro-behavioursTurn changes the heading that I move forward. There are many movement behaviours in the main library. How this worksThis uses go-forward, a Behaviour Composer NetLogo command. HistoryJump forward was first implemented by Ken Kahn on 28 July 2010. BehaviourComposer: ignore everything after this. |