ScriptEvent:allocDecal
From Mod Wiki
Contents |
[edit]
Parameters
string material -- Name of the material to use with this decal.
[edit]
Result
[edit]
Supported By
sdSysCallThread
[edit]
Comments
- If a decal could not be allocated, the result will be -1.
- A limited number of decals can be allocated using this, so care should be taken to clean them up properly, using freeDecal.
[edit]
Functionality
Allocates a decal using the supplied material, and returns a handle to it.
