IsEntity()

Syntax

Result = IsEntity(#Entity)
Description
Tests if the given #Entity is a valid and correctly initialized entity.

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, else it returns zero. This is the correct way to ensure an entity is ready to use.

Supported OS

All

<- HideEntity() - Entity Index - MoveEntity() ->