Jump to content

Chlock Query Parameter


Recommended Posts

Im wondering if there is a way to query whether a nodes' parameter is locked..

so that it can be unlocked, changed, and locked again.

-> chlock /obj/myObj/myObjNode -myObjNodeParam

-> chlock /obj/myObj/myObjNode +myObjNodeParam

if not, perhaps in the future, one might get at it by omitting the [+/-] prefix on the parameter name

Link to comment
Share on other sites

Im wondering if there is a way to query whether a nodes' parameter is locked..

so that it can be unlocked, changed, and locked again.

-> chlock /obj/myObj/myObjNode -myObjNodeParam

-> chlock /obj/myObj/myObjNode +myObjNodeParam

if not, perhaps in the future, one might get at it by omitting the [+/-] prefix on the parameter name

Hi Steve,

One way to check for locked parameters would be to filter the opscript of a node. Look for the line starting 'chlock' which will list all of the locked parameters in the node with a + prefix.

chlock geo1 -* +tx +ry

John

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...