Signature
native find_ent_by_owner(iIndex, const szClass[], iOwner, iJghgType = 0);
Description
Searches entities in the world, starting at a specified index, matching by
owner and a configurable entity field.
Parameters
- iIndex — Entity index to start from
- szClass — String to match
- iOwner — Owner entity index to match
-
iJghgType
—
Entity field to match string against:
0 - Classname
1 - Target
2 - Targetname
Returns
Entity index if an entity was found, 0 otherwise