LlTarget

From Second Life Wiki
Revision as of 13:26, 25 February 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

{{LSL_Function |func_id=66|func_sleep=0.0|func_energy=10.0 |func=llTarget|sort=Target |return_type=integer |p1_type=vector|p1_name=position |p2_type=float|p2_name=range |func_footnote=A similar function exists for rotations: llRotTarget
This function does not move the object, to do that use llSetPos or llMoveToTarget. |func_desc=This function is to have the script know when it has reached a position.
It registers a position with a range that triggers at_target and not_at_target events continuously until unregistered. |return_text=that is the handle to unregister the target with llTargetRemove. |spec |caveats |constants |examples |helpers |also_functions=|-style="vertical-align:top;" | style="color:gray;" |•  | llRotTarget | style="color:gray;" | | | |-style="vertical-align:top;" | style="color:gray;" |•  | llTargetRemove

| style="color:gray;" | – | also_tests

| also_articles