conrad Evanier Posted April 28, 2011 Share Posted April 28, 2011 HI just wondering can you have a note card giver in 1 prim that is triggered when other in link set is clicked? i dont wont to use a listen channel.!! Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted April 28, 2011 Share Posted April 28, 2011 just use llMessageLinked Link to comment Share on other sites More sharing options...
Rolig Loon Posted April 28, 2011 Share Posted April 28, 2011 If your script is in the root prim of the linkset, it should respond to a touch on any child prim as well. There's no need for extra magic unless you put the script in a child prim. Link to comment Share on other sites More sharing options...
conrad Evanier Posted April 28, 2011 Author Share Posted April 28, 2011 Na cant put in root prim as wont it to be used from button so iv come up with this dose job well default{ touch_start(integer total_number) { if(llGetLinkName(llDetectedLinkNumber(0)) == "Button1") { llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_NOTECARD, 0)); } else if(llGetLinkName(llDetectedLinkNumber(0)) == "Button2") { // Do summin else } // And add as many as you need }} 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