Difference between revisions of "Touch start"

From Second Life Wiki
Jump to: navigation, search
Line 1: Line 1:
{{LSL_Event|event_id=2|event_delay|event=touch_start|p1_type=integer|p1_name=num_detected|p1_desc=Number of agents detected touching during the last clockcycle|event_desc=Triggered by the start of agent clicking on task|constants|spec|caveats|examples|helpers
+
{{LSL_Event|event_id=2|event_delay|event=touch_start|p1_type=integer|p1_name=num_detected|p1_desc=Number of agents detected touching during the last clockcycle|event_desc=Triggered by the start of agent clicking on task|constants|spec|caveats|examples
 +
  touch_start(integer total_number)
 +
  {
 +
    integer i = 0;
 +
    for(; i<total_number; ++i)
 +
    llWhisper(0, "Touched by " + llKey2Name(llDetectedKey(i)));
 +
  }
 +
|helpers
 
|also_header|also_events|also_functions|also_articles|also_footer
 
|also_header|also_events|also_functions|also_articles|also_footer
 
|notes|mode|deprecated|cat1=Touch
 
|notes|mode|deprecated|cat1=Touch

Revision as of 19:44, 9 February 2007

Description

Event: touch_start( integer num_detected ){ ; }

Triggered by the start of agent clicking on task

• integer num_detected Number of agents detected touching during the last clockcycle

Examples

Deep Notes

Signature

event void touch_start( integer num_detected );