This wiki has been moved to into the mediawiki branch.


From SuperTux
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



Scripting reference
Ambient sound · Camera · Candle · Display effect · Floating image · Globals · Level · Level time · Path · Platform · Player · Scripted object · Sector · Sound · Text · Thunderstorm · Tilemap · Will-o-wisp · Wind