SwireD Posted October 3, 2019 Share Posted October 3, 2019 hi! how to make script show who touched object, in what time and date as a hover text? Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 3, 2019 Share Posted October 3, 2019 In your touch_start event, grab llDetectedName(0) and llGetTimestamp() and put them into llSetText. See http://wiki.secondlife.com/wiki/LlSetText 1 1 Link to comment Share on other sites More sharing options...
SwireD Posted October 3, 2019 Author Share Posted October 3, 2019 2 hours ago, Rolig Loon said: In your touch_start event, grab llDetectedName(0) and llGetTimestamp() and put them into llSetText. See http://wiki.secondlife.com/wiki/LlSetText Thank you very much! can you help to make it two line text - time and date go to second line? default { touch_start(integer total_number) { llSetText(llKey2Name(llDetectedKey(0)) + llGetTimestamp(), <1 ,1, 1>, 1 ); } } Link to comment Share on other sites More sharing options...
KT Kingsley Posted October 3, 2019 Share Posted October 3, 2019 Use "\n" for a newline character: llSetText(llKey2Name(llDetectedKey(0)) + "\n" + llGetTimestamp(), <1 ,1, 1>, 1 ); 2 1 Link to comment Share on other sites More sharing options...
SwireD Posted October 3, 2019 Author Share Posted October 3, 2019 3 minutes ago, KT Kingsley said: Use "\n" for a newline character: llSetText(llKey2Name(llDetectedKey(0)) + "\n" + llGetTimestamp(), <1 ,1, 1>, 1 ); Thanks so much! 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