User Tools

Site Tools


4rpl:commands:getterrainspecial

This is an old revision of the document!


Index

:!: Available in version 1.2.1 and later.

GetTerrainSpecial

GetTerrainSpecial(<-posX <-posZ) ->specialTerrainSlot

Description

Gets the slot for the special terrain present at the terrain location specified by posX and posZ. A value of 0 mean no special terrain is present. A value of 1 through 10 (inclusive) indicates the special terrain slot present at the location. The special terrain slots are defined in the 'Creeper' tab in the editor.

Examples

GetTerrainSpecial(50 30) ->specialTerrainSlot

Index

4rpl/commands/getterrainspecial.1610668093.txt.gz · Last modified: 2021/01/14 18:48 by Sanian