ScriptingWill-o-wisp.md 1.5 KB

__NOTOC__

Summary

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

Methods

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 |

Constants

None

Template:Navbox Scripting reference

Category:Scripting Reference