Difference between revisions of "ScriptEvent:allocCMIcon"

From Mod Wiki
 
(No difference)

Latest revision as of 10:55, 5 November 2007

Parameters

entity (cannot be null) owner -- Entity which owns the icon.
integer sort -- Initial sort value.

Result

integer

Supported By

sdSysCallThread

Comments

  • If a new icon cannot be created, the return value will be -1.

Functionality

Allocates a commandmap icon with an initial sort value, which belongs to the specified entity, and returns a handle to it.