User Tools

Site Tools


crpl:docs:randcoords

This is an old revision of the document!


<- CRPL reference <- Utility Commands

RandCoords

ArgumentsResultNotation
Random Map X and Y coords – X1 Y1

Description

Pushes two random integers to stack where 0 <= RandNum < Map Width.

Examples

Every second, add 32 creeper to a random cell.

GetTimer0 eq0 if
	30 SetTimer0

	RandCoords 32 AddCreeper
endif
crpl/docs/randcoords.1525220971.txt.gz · Last modified: 2018/05/01 20:29 by Grabz