GetEntityFlags Function

Get an entity's flags.

int GetEntityFlags(int entity)

Parameters

int entity

Entity index.

Return Value

Entity's flags, see entity flag defines above.

Errors

Invalid entity index, or lack of mod compliance.

Notes

The game's actual flags are internally translated by SM to match the entity flags defined above as the actual values can differ per engine.