User Tools

Site Tools


crpl:docs:getwall

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Terrain and Wall Commands

GetWall

ArgumentsResultNotation
X, Y0 to 1 x1 y1 – i1

Description

Pushes to the stack the value of the wall at the cell coordinates. 0 represents no wall and 1 represents a wall of full health. Values in between represent varying degrees of health for the wall.

Examples

example goes here

Possible Issues

In one coder's experience, this removes the wall. This can be fixed by adding “dup SetWall” after using GetWall. No. Don't do this. Ignore this user.

crpl/docs/getwall.1412190170.txt.gz · Last modified: 2014/10/01 15:02 by 127.0.0.1