Function
EGroup
EGroup_GetSpawnedEntityFilter
Get the first spawned entity from egroup that meets the condition (a function that takes an entity)
On this page
EGroup_GetSpawnedEntityFilter(egroupid, condition(entity))Description
Get the first spawned entity from egroup that meets the condition (a function that takes an entity)
Parameters
egroupidEGrouprequiredcondition(entity)Functionrequired
Returns
EntityIDEntityID or NIL if none met conditionSource
Declared in the game's script sources at:
scar/groups.scar