point_advanced_finder
point_advanced_finder is a point entity available
with any version of Mapbase.An enhanced entity finder that finds entities that pass a filter and fires OnFoundEntity for each of them.
KeyValues
- Filter Name (SearchFilter) <filterclass>
The filter to use that finds what entit(ies) we're looking for.
The filter to use that finds what entit(ies) we're looking for.
- Search Point (SearchPoint) <target_destination>
This is the entity in which distance and radius is measured from. Leave blank to use the finder itself.
This is the entity in which distance and radius is measured from. Leave blank to use the finder itself.
- Radius (radius) <float>
The radius in which entities can be found. Leave 0 for infinite.
The radius in which entities can be found. Leave 0 for infinite.
- Max Results (NumberOfEntities) <integer>
The number of entities that can be found by this finder. 0 = No limit.
The number of entities that can be found by this finder. 0 = No limit.
- Output Delay (OutputDelay) <float>
OnFoundEntity fires once for each entity every X number of seconds. Deleted/killed/removed entities will not be skipped and a chain cannot be canceled, even if the finder is removed. Look into a more manual alternative if you do not want these side effects. Leave 0 for no delay.
OnFoundEntity fires once for each entity every X number of seconds. Deleted/killed/removed entities will not be skipped and a chain cannot be canceled, even if the finder is removed. Look into a more manual alternative if you do not want these side effects. Leave 0 for no delay.
- Search Method (Method) <choices>
None
None
Inputs
- BeginSearch
<void>
Begins finding entities with all of the current options.
Begins finding entities with all of the current options.
- SetSearchFilter
<target_destination>
Sets the search filter.
Sets the search filter.
- SetSearchPoint
<target_destination>
Sets the search point.
Sets the search point.
- SetRadius
<float>
Sets the search radius.
Sets the search radius.
- SetMaxResults
<integer>
Sets the maximum entities that could be found by this finder.
Sets the maximum entities that could be found by this finder.
- SetOutputDelay
<float>
Sets the delay in between outputs.
Sets the delay in between outputs.
- SetFiringMethod
<integer>
Sets the search method.
Sets the search method.
Outputs
- OnFoundEntity
<ehandle>
Fires for each entity found, passing it as the parameter and the activator.
Fires for each entity found, passing it as the parameter and the activator.
- OnSearchFailed
<void>
Fired when this finder couldn't find any entities.
Fired when this finder couldn't find any entities.
