User Tools

Site Tools


4rpl:commands:getterrainspecial

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.txt · Last modified: 2021/01/24 14:15 by Sanian