Difference between revisions of "LlTarget"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llTarget moved to LlTarget)
Line 1: Line 1:
{{LSL Function
{{LSL_Function
|func_id=66
|func_id=66|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0
|func_energy=10.0
|func=llTarget
|func=llTarget
|return_type=integer
|return_type=integer|p1_type=vector|p1_name=position|p2_type=float|p2_name=range
|p1_type=vector
|func_footnote
|p1_name=position
|func_desc=Registers a '''position''' with a '''range''' that triggers {{LSLG|at_target}} and {{LSLG|not_at_target}} events until unregistered.
|p2_type=float
|return_text=that is the handle to unregister the target with {{LSLG|llTargetRemove}}
|p2_name=range
|spec
|func_footnote=set positions within range of position as a target and return an ID for the target
|caveats
|return_text=returns an integer used to identify the specified target; this can be removed with [[llTargetRemove]]
|constants
|spec|caveats|examples|helpers|related|also|notes}}
|examples
 
|helpers
[[Category:LSL Functions|Target]]
|also_functions=*{{LSLG|llTargetRemove}}
[[Category:LSL Stub]]
|also_tests
|also_events=*{{LSLG|at_target}}
*{{LSLG|not_at_target}}
|also_articles
|notes
|cat1=Target
|cat2=Physics
|cat3
|cat4
}}

Revision as of 12:05, 21 February 2007