This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
platforms [2019/12/16 19:39] – justin | platforms [2021/04/21 20:14] (current) – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
{{: | {{: | ||
- | To enable this functionality, | + | To enable this functionality, |
{{: | {{: | ||
Line 26: | Line 26: | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | To enable the view of navigation paths in-game for testing purposes, you can enter "nav on" into the [[debug console]]. The command "nav off" will toggle the paths off. | + | To enable the display |
</ | </ | ||
=====Scripting===== | =====Scripting===== | ||
To move a platform to a specific waypoint during game time, you can use the [[Move Platform]] scripting function. For example, the script below will move the platform tile (with entity ID of " | To move a platform to a specific waypoint during game time, you can use the [[Move Platform]] scripting function. For example, the script below will move the platform tile (with entity ID of " | ||
- | < | + | |
- | move_platform(entity[" | + | < |
+ | move_platform(entity[" | ||
</ | </ | ||
+ | |||
+ | The third argument, a [[Boolean]] value of true or false, instructs the game whether or not the current script should wait until the platform has reached its destination waypoint before proceeding further into the script. This argument is optional and defaults to false. | ||
~~NOTOC~~ | ~~NOTOC~~ | ||