Jump to content

llSetObjectDesc- getting one object to change this in another via chat


followmeimthe Piedpiper
 Share

You are about to reply to a thread that has been inactive for 3873 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

 llSetObjectDesc- getting one object to change this in another via chat.... is this possible? I need to automate a switching RR system for route setting, getting the signals to alter the description of the loco so it follows certain named track guides. 

So in essence we have a manually set signal lever connected to a signal post -np so far, in the track is a prim that needs to listen to this change and alter the ObjestDesc of the next loco along so it follows the correct route at the points (turnouts) via pre named block track guides.  Just this part of the scripting escapes me, the rest is working:)   tyvm!

Link to comment
Share on other sites

 llSetObjectDesc- getting one object to change this in another via chat.... is this possible? I need to automate a switching RR system for route setting, getting the signals to alter the description of the loco so it follows certain named track guides. 

So in essence we have a manually set signal lever connected to a signal post -np so far, in the track is a prim that needs to listen to this change and alter the ObjestDesc of the next loco along so it follows the correct route at the points (turnouts) via pre named block track guides.  Just this part of the scripting escapes me, the rest is working:)   tyvm!

Link to comment
Share on other sites

All you're trying to do is send a signal from one object to another,  You have several choices.  The most logical ones, as long as the objects are in the same sim, are llRegionSay and llRegionSayTo.  If you are passing information to one specific object and you know its UUID, llRegionSayTo is the better choice. 

When your receiving object hears the message, it can llSetObjectDesc or llSetLinkPrimitiveParams(link_no,[PRIM_DESC]) to make the change you need.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3873 days.

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
 Share

×
×
  • Create New...