This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:destroythemeoverlay [2021/02/09 20:58] – created virgilw | 4rpl:commands:destroythemeoverlay [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
:!: Available in version 1.3 and later. | :!: Available in version 1.3 and later. | ||
====== DestroyThemeOverlay ====== | ====== DestroyThemeOverlay ====== | ||
Line 7: | Line 11: | ||
===== Description ===== | ===== Description ===== | ||
- | Destroys a theme overlay texture. The overlayNumber should be 0 or 1. If you use an overlay for a temporary effect in the game, then destroy it when done to prevent it from being saved with the map. Note that creating a new overlay texture has a performance penalty | + | Destroys a theme overlay texture. The overlayNumber should be 0 or 1. If you use an overlay for a temporary effect in the game, then destroy it when done to prevent it from being saved with the map. Note that creating a new overlay texture has a performance penalty, so only destroy an overlay texture when you are done with it. |
===== Examples ===== | ===== Examples ===== |