This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
move_platform [2019/12/16 08:44] – justin | move_platform [2021/04/21 18:37] (current) – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | move_platform(tile, | + | move_platform(tile, |
</ | </ | ||
Line 12: | Line 12: | ||
|tile|Platform tile that will be moved.|[[Entity]]|Yes| | |tile|Platform tile that will be moved.|[[Entity]]|Yes| | ||
|waypoint_name|Name of the destination waypoint.|[[String]]|Yes| | |waypoint_name|Name of the destination waypoint.|[[String]]|Yes| | ||
- | |pause|asd|[[Boolean]]|No| | + | |pause|Whether or not script should be paused until the waypoint has been reached. Defaults to false.|[[Boolean]]|No| |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | If you are moving | + | A tile can be configured as a platform by selecting it in the [[Map Editor]] and enabling |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
- | move_platform(entity[" | + | move_platform(entity[" |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Move | + | Use the **Move |
</ | </ | ||