net.psforever.objects.serverobject.terminals
Accept a new target for this unit.
Accept a new target for this unit.
the new target
true
, if the entrant has been added and is new to the list;
false
if the entrant is already in the list or can not be added
Remove an existing target for this unit.
Remove an existing target for this unit.
the target
true
, if the submitted entity was previously in the list but is not longer in the list;
false
, if the submitted entity was never in the list or can not be removed
Confirm whether the entity is a valid target for the effects of this unit.
Confirm whether the entity is a valid target for the effects of this unit. Curried to accept parameters for the tests separately from the entity to be tested. In general, the two requirements beyond the custom validations involve distance (from the unit) and inclusiveness (known to the unit beforehand).
the squared minimum activation distance
the custom tests that the entity must pass to be considered valid; in general, regardless of the type of the target, any of the tests must be passed
the submitted entity
true
, if the entity passes the validation tests;
false
, otherwise
Confirm whether the entity is a valid target for the effects of this unit.
Confirm whether the entity is a valid target for the effects of this unit.
the submitted entity
true
, if the entity passes the validation tests;
false
, otherwise
A server object that provides a service, triggered when a certain distance from the unit itself (proximity-based). Unlike conventional terminals, this one is not necessarily structure-owned. For example, the cavern crystals are considered owner-neutral elements that are not attached to a
Building
object.