equal
deleted
inserted
replaced
1187 * `sprBotlevels` |
1187 * `sprBotlevels` |
1188 * `sprIceTexture` |
1188 * `sprIceTexture` |
1189 * `sprCustom1` |
1189 * `sprCustom1` |
1190 * `sprCustom2` |
1190 * `sprCustom2` |
1191 |
1191 |
1192 `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. |
1192 `tint` is for an RGBA colouring to apply, this works about the same as `Tint` in gears. If `nil`, the original color is used. |
1193 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. |
1193 |
|
1194 `behind` indicates the sprite should not replace existing land. |
|
1195 |
|
1196 `flipHoriz` and `flipVert` are for mirroring the sprite vertically and horizontally before placing, respectively. |
|
1197 |
|
1198 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. |
1194 |
1199 |
1195 Example: |
1200 Example: |
1196 |
1201 |
1197 <code language="lua">PlaceSprite(2836, 634, sprAmGirder, 5) |
1202 <code language="lua">PlaceSprite(2836, 634, sprAmGirder, 5) |
1198 -- Places the girder sprite as normal terrain at (2836, 634). The `frameIdx` 5 is for the long decreasing right girder.</code> |
1203 -- Places the girder sprite as normal terrain at (2836, 634). The `frameIdx` 5 is for the long decreasing right girder.</code> |