AsadMAk Posted July 11, 2021 Share Posted July 11, 2021 when avatar Collide to same object then how we will get the name of the object? Or Object1 collide to another Object2 then how we will get the name of the object2 by Using Script? Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted July 11, 2021 Share Posted July 11, 2021 Have a look at the LSLPortal for collision events, and inside those events, functions such as llDetectedKey(number-1), which is the key of the object that collided, the key can then be used with llGetObjectDetails to get the name. 1 Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted July 11, 2021 Share Posted July 11, 2021 llDetectedName within the collision_start event. 1 1 Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted July 11, 2021 Share Posted July 11, 2021 (edited) 3 hours ago, Wulfie Reanimator said: llDetectedName How long has that been around? I spotted a couple like pursuit this morning I'd not seen before. Perhaps I'd better stop getting out quite so much and concentrate on LSL Edited July 11, 2021 by Profaitchikenz Haiku Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted July 11, 2021 Share Posted July 11, 2021 4 hours ago, Profaitchikenz Haiku said: How long has that been around? I spotted a couple like pursuit this morning I'd not seen before. Perhaps I'd better stop getting out quite so much and concentrate on LSL First entry on the wiki seems to be from 2007. Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted July 11, 2021 Share Posted July 11, 2021 And for years I've written llKey2Name(llDetectedKey(touches - 1)) Even llPursue seems to be over five years old. I'm going to stop writing scripts and just memorise the wiki from now on. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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