~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetThemeTexture|Get]]
* [[4rpl:commands:SetThemeTexture|Set]]
====== GetThemeTexture ======
GetThemeTexture(<-terrainLevel) ->texture
===== Description =====
Gets the current theme's texture number for the specified level. Terrain levels range from 1 to 20.
Texture numbers are in the range of 0 to 400, with 0 to 380 being built in textures.
===== Examples =====
trace(GetThemeTexture(1))
<=[[4rpl:start| Index]]