integer llTarget(vector position, float range)
Defines a
target within
range of
position.
While the
object with the
task is outside
range of
position,
not_at_target events will be raised.
Upon coming inside
range of
position, an
at_target event will be raised, and will keep being raised until this target's handle (the return value returned by
llTarget) is removed by
llTargetRemove or the object moves outside of
range of
position.
Returns an integer ID (handle) for the target. This handle can be used to remove a target using
llTargetRemove.
This function persists across states.
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
at_target |
not_at_target |
llTargetRemove