ptr_remove(void* object)

Removes an engine object.

Parameters:

object - pointer of the engine object to be removed; ENTITY*, STRING*, BMAP*, VIEW*, PANEL*, TEXT*, FONT*, SOUND*, or MATERIAL* pointers are supported by this function.

Returns:

NULL

Speed:

Medium

Remarks:

Example:

ptr_remove(me); // Removes the me entity

See also:

ent_create, ptr_for_handle, handle, ptr_first

► latest version online