crpl:docs:pathfindterrain
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| crpl:docs:pathfindterrain [2015/03/11 15:01] – created warren | crpl:docs:pathfindterrain [2025/02/14 14:57] (current) – external edit 127.0.0.1 |
|---|
| ~~DISCUSSION~~ | |
| <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]] | <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]] |
| ===== PathFindTerrain ===== | ===== PathFindTerrain ===== |
| === Examples === | === Examples === |
| |
| Enjoy this script that draws a path between the mouse and the nearest anticreeper, avoiding terrain higher or lower than the source or destination. This script requires a vertically aligned line like image in image slot Custom0. | Enjoy this script that draws a path between the mouse and the nearest anticreeper, avoiding terrain higher or lower than the source or destination, as well as buildings. This script requires a vertically aligned line like image in image slot Custom0. |
| <code> | <code> |
| #Clean up from last frame | #Clean up from last frame |
crpl/docs/pathfindterrain.1426086093.txt.gz · Last modified: 2025/02/14 14:56 (external edit)