integer llTarget(vector position, float range)
Defines a target
While the object
with the task
is outside range
events will be raised.
Upon coming inside range
, 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
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.