This wiki has been moved to into the mediawiki branch.


From SuperTux
Revision as of 17:47, 21 April 2008 by Mathnerd314 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Will-o-Wisps, when given a name (and perhaps a path too), become scriptable, much like a platform or tilemap.


goto_node(int node_no) Move willowisp to given node.
start_moving() start following the path
stop_moving() stop following the path
set_state(string state) set the willowisp state, can be:
  • stopped: willowisp doesn't move
  • move_path: willowisp moves along the path (call goto_node)
  • move_path_track: willowisp moves along path but catches Tux when he is near
  • normal: "normal" mode starts tracking tux when he is near enough
  • vanish: willowisp vanishes