at_rot_target
event
Event syntax
at_rot_target(integer handle,// Integer handle returned by thellRotTargetcall.rotation targetrot,// Target rotation specified in thellRotTargetcall.rotation ourrot// Current rotation of the object (similar tollGetRot).
) { … }Triggered when the script's rotation (ourrot) comes within a defined angle (error) of the target rotation (targetrot) set by a call to llRotTarget (which returns the associated handle).
Result of llRotTarget library function call
at_rot_target(integer handle, rotation targetrot, rotation ourrot){
}Examples
Section titled “Examples”For an example, see llRotTarget
See also
Section titled “See also”Functions
Section titled “Functions”llTarget— Setup a target positionllTargetRemove— Stop a target positionllRotTarget— Setup a target rotationllRotTargetRemove— Stop a target rotation
Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.