Difference between revisions of "ScriptEvent:allocDecal"

From Mod Wiki
 
(No difference)

Latest revision as of 10:55, 5 November 2007

Parameters

string material -- Name of the material to use with this decal.

Result

integer

Supported By

sdSysCallThread

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.

Functionality

Allocates a decal using the supplied material, and returns a handle to it.