Touch end

From Second Life Wiki
Revision as of 11:04, 21 March 2009 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Description

! Event: touch_end( integer num_detected ){ ; }

Triggered when agent stops clicking on task

• integer num_detected

Caveats

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   Server drops first touch event when a script returns to a state with a touch_start handler

Examples

You can use numbers 0 through num_detected - 1 to get detected agent keys: <lsl>float t;

default {

   touch_start(integer num_detected)
   {
       t = llGetTime();
   }
   touch_end(integer num_detected)
   {
       llOwnerSay((string)(llGetTime() - t) + " seconds between touch_start and touch_end");
   }

}</lsl>

See Also

Events

•  touch_start
•  touch

Functions

•  llPassTouches

Deep Notes

Issues

All Issues

~ Search JIRA for related Issues
   Server drops first touch event when a script returns to a state with a touch_start handler

Signature

event void touch_end( integer num_detected );