LuaAPI: Add tint explanation for PlaceSprite
authorWuzzy
Tue, 14 Aug 2018 13:39:47 +0100
changeset 1506 a1bfc81f6295
parent 1505 0fabf4dad331
child 1507 0df1fac87c44
LuaAPI: Add tint explanation for PlaceSprite
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Aug 14 08:35:40 2018 +0100
+++ b/LuaAPI.wiki	Tue Aug 14 13:39:47 2018 +0100
@@ -1189,8 +1189,13 @@
  * `sprCustom1`
  * `sprCustom2`
 
-`tint` is for an RGBA colouring to apply, this works about the same as `Tint` in gears. `behind` indicates the sprite should not replace existing land. `flipHoriz` and `flipVert` are for mirroring the sprite vertically and horizontally before placing, respectively.
-The 9th and later arguments specify land flags (see the constants section) to be used for the newly created terrain. If omited, `lfNormal` is assumed.
+`tint` is for an RGBA colouring to apply, this works about the same as `Tint` in gears. If `nil`, the original color is used.
+
+`behind` indicates the sprite should not replace existing land.
+
+`flipHoriz` and `flipVert` are for mirroring the sprite vertically and horizontally before placing, respectively.
+
+The 9th and later arguments specify land flags (see the constants section) to be used for the newly created terrain. If omitted, `lfNormal` is assumed.
 
 Example: