User Tools

Site Tools


4rpl:commands:destroythemeoverlay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:destroythemeoverlay [2021/02/09 20:58] – created virgilw4rpl:commands:destroythemeoverlay [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +<WRAP tabs> 
 +  * [[4rpl:commands:clearthemeoverlay|Clear]] 
 +  * [[4rpl:commands:Createthemeoverlay|Create]] 
 +  * [[4rpl:commands:Destroythemeoverlay|Destroy]] 
 +</WRAP>
 :!: 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 to only destroy an overlay texture when are done with it.+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 =====
4rpl/commands/destroythemeoverlay.1612904337.txt.gz · Last modified: 2025/02/14 14:56 (external edit)