Difference between revisions of "At target"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Event|event_id=16|event_delay|event=at_target
{{LSL_Event|event_id=16|event_delay|event=at_target
|p1_type=integer|p1_name=tnum|p1_desc
|p1_type=integer|p1_name=tnum|p1_desc=[[llTarget]] return
|p2_type=vector|p2_name=targetpos|p2_desc
|p2_type=vector|p2_name=targetpos|p2_desc=[[llTarget]] position parameter
|p3_type=vector|p3_name=ourpos|p3_desc
|p3_type=vector|p3_name=ourpos|p3_desc=current position (similar to [[llGetPos]])
|event_desc=Result of {{LSLG|llTarget}} library function call
|event_desc=Result of {{LSLG|llTarget}} library function call
|constants
|constants

Revision as of 14:50, 3 March 2007

Description

Event: at_target( integer tnum, vector targetpos, vector ourpos ){ ; }

Result of llTarget library function call

• integer tnum llTarget return
• vector targetpos llTarget position parameter
• vector ourpos current position (similar to llGetPos)

Caveats


Examples

See Also

Events

•  not_at_target
•  at_rot_target
•  not_at_rot_target

Functions

•  llTarget Setup a target position
•  llTargetRemove Stop a target position
•  llRotTarget Setup a target rotation
•  llRotTargetRemove Stop a target rotation

Deep Notes

Signature

event void at_target( integer tnum, vector targetpos, vector ourpos );