This file is auto-generated from the SuperTux source code, using the template ScriptingPage.md.
A WillOWisp
that was given a name can be controlled by scripts.
A WillOWisp
is instantiated by placing a definition inside a level. It can then be accessed by its name from a script or via sector.name
from the console.
This class inherits functions and variables from the following base classes:
Method | Explanation |
---|---|
void set_state(string state) |
Sets the state of the WillOWisp.state - One of the following: "stopped", "move_path" (moves along a path), "move_path_track" (moves along a path but catches Tux when he is near), "normal" (starts tracking Tux when he is near enough), "vanish". |
None.
None.