Search requires javascript to work
Retrieves the entity index from a reference.
int EntRefToEntIndex(int ref)
Entity reference.
Entity index or -1 on invalid reference.