ScriptEvent:freeCMIcon

From Mod Wiki

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.