This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.
Difference between revisions of "ScriptingWill-o-wisp"
From SuperTux
Mathnerd314 (Talk | contribs) (Create willowisp docu) |
(Added "Navbox Scripting reference" template.) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Summary == | == Summary == | ||
− | Will-o-Wisps, when given a name (and perhaps a path too), become scriptable, much like a [[ScriptingPlatform|platform]] or [[ScriptingTilemap|tilemap]]. | + | Will-o-Wisps, when given a name (and perhaps a [[ScriptingPath|path]] too), become scriptable, much like a [[ScriptingPlatform|platform]] or [[ScriptingTilemap|tilemap]]. |
== Methods == | == Methods == | ||
Line 29: | Line 29: | ||
None | None | ||
+ | {{Navbox Scripting reference}} | ||
[[Category:Scripting Reference]] | [[Category:Scripting Reference]] |
Latest revision as of 12:28, 23 January 2010
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:
|
Constants
None
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 |