XbabylonX Posted December 28, 2012 Share Posted December 28, 2012 Hello,I use on touch_start the llInstantMessage(llDetectedKey(0),"test");The person who clicked the prim, gets the test in local chat as he should.The same message method doesnt work inside a http_response as it says "Invalid Key passed to instant message."Could someone tell me how to make it work?Thank you! Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted December 28, 2012 Share Posted December 28, 2012 the http_response event isn't triggered by a SL object or agent - thus llDetectedKey() doesn't work with - this raises the error you get. Link to comment Share on other sites More sharing options...
XbabylonX Posted December 28, 2012 Author Share Posted December 28, 2012 So, any way to send a response to the avatar who touched the prim? Link to comment Share on other sites More sharing options...
XbabylonX Posted December 28, 2012 Author Share Posted December 28, 2012 Or should I let my server send back the id of the person to sl? Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted December 28, 2012 Share Posted December 28, 2012 This is one possibility. But you could just store the key in a global variable in the touch event. Link to comment Share on other sites More sharing options...
XbabylonX Posted December 28, 2012 Author Share Posted December 28, 2012 Sounds right! Thank you very much! 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