Jump to content

Nadee0209

Resident
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Nadee0209

  1. Can we use llMessageLinked to communicate among the objects in a linkset? to me, the Wiki of llMessageLinked sounds bit ambiguous because the first statement of description says - "The purpose of this function is to allow scripts in the same object to communicate." By this statement i make a note that we cannot communicate to other object script no matter if it is linked object. the next statement is - "It triggers a link_message event with the same parameters num, str, and id in all scripts in the prim(s) described by link." I think it means we can communicate to the scripts in other linked objects by passing a LINK_* flag control. (ref - http://wiki.secondlife.com/wiki/LlMessageLinked)
  2. Thank you Rolig Loon for such a quick response. Yes i was doing some very trivial mistakes and now i learned how to initiate that and call it properly. And Yes this is exactly what I should have done. I was unnecessarily using llRegionSayTO() instead of llRegionSay(). In my case, the sender and the listener are exclusively communicating with each other. And putting object name in llListen() makes it more accurate
  3. Thank you KT Kigsley, this is quite a good trick and gonna help me a lot in further learning :)
  4. there is a linkset of two objects this code goes in first object default { touch_start(integer total_number) { llRegionSayTo(llGetKey(), -99, "flame"); } } this goes in another object i m communicating to : i am not sure how to use a listen() so i m getting error in this code default { state_entry() { listen( integer -99, string name, key id, string message ) //<----- here is the syntax error { if(message == "flame") { llSay(0, "burn"); } } } } i read the wiki but still unsure how to use listen() properly to make it work
×
×
  • Create New...