Jump to content

llGetlinkDesc would be handy


conrad Evanier
 Share

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

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

Recommended Posts

Hello all, im creating a script that i need to get info from the root prim description, i have done this with the name using llGetLInkName  which is great but i would prefer it to be the description so the name of the object dosnt have to change is it possible? why isnt there llGetLinkDesc lol  this script gos in a child prim .

Link to comment
Share on other sites

 llDumpList2String([llGetLinkName(LINK_ROOT), llList2String(llGetLinkPrimitiveParams(LINK_ROOT, [PRIM_DESC]), 0)],"");
 ok this works for getting a key thats added to root desription, llGetLinkDesc would be much nicer tho lmao thanks for pointing me in the right direction Acheron:)

Link to comment
Share on other sites

Nope sorry lol that still gets the name as well.

 This is the right version and its dose just as i need il put it here incase anyone else is searching for this,

partner =  llList2String(llGetLinkPrimitiveParams(LINK_ROOT, [PRIM_DESC]),0);

 this makes a nice easy way to drop a partner or friends key in to a linked object so they can get menus from a child prim :) 

Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...