~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetTerrainSpecial|Get]]
* [[4rpl:commands:SetTerrainSpecial|Set]]
:!: Available in version 1.2.1 and later.
====== SetTerrainSpecial ======
SetTerrainSpecial(<-posX <-posZ <-specialTerrainSlot)
===== Description =====
Sets the slot for the special terrain 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 =====
SetTerrainSpecial(50 30 1)
<=[[4rpl:start| Index]]