~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:GetTerrainSpecial|Get]] * [[4rpl:commands:SetTerrainSpecial|Set]] :!: 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 <=[[4rpl:start| Index]]