ScriptEvent:freeCMIcon

From Mod Wiki
Revision as of 13:04, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

entity (cannot be null) owner -- Entity which owns the icon.
integer handle -- Handle to the icon to delete.

Result

None.

Supported By

sdSysCallThread

Comments

  • The owner passed in must match the original owner, or the icon will not be freed. This is to ensure that uninitialised handles, or old handles don't destroy the icons of other entities.

Functionality

Deletes an existing commandmap icon.