User Tools

Site Tools


4rpl:commands:destroythemeoverlay

Index

:!: Available in version 1.3 and later.

DestroyThemeOverlay

DestroyThemeOverlay(<-overlayNumber)

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, so only destroy an overlay texture when you are done with it.

Examples

DestroyThemeOverlay(0)

Index

4rpl/commands/destroythemeoverlay.txt · Last modified: 2021/03/04 18:37 by Karsten75