Jump to content
  • 0

How would I set a script that publicly notifies someone touching it?


Lionblaze44
 Share

You are about to reply to a thread that has been inactive for 2992 days.

Please take a moment to consider if this thread is worth bumping.

Question

1 answer to this question

Recommended Posts

  • 0

UPDATED://

Sure, I can sort an example. I had hoped you'd be able to construct it yourself from the links provided.

touch_start(integer num_det){    llSay(0,"Someone called " + llGetDisplayName(llDetectedKey(0)) + " has touched me!");}

ETA: Whoops, missed integer channel in llSay. Added it now!

--

You'd probably use an llSay that used the variables llGetDisplayName(llDetectedKey(0)) and llGetObjectName inside of the touch_start event.

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2992 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...