Locks parameters so they can’t be modified.
Usages
chlock node_path [+|-]parameter ...chlock -d [-u] [-q] node_path [parameter] ...
This command can be used either to lock or unlock parameters. Prefix the parameter pattern with a + to lock the parameter, or - to unlock the parameter.
Options
-d
| Prints the chlock command for the given parameters. If no parameters are given, prints the chlock command for the entire node. |
-u
| Normally, the -d option with no parameters given will print the locked parameters. This option prints the unlocked parameters. It is only valid with the -d option and no parameters specified. |
-q
| Quiet mode suppresses error and warning messages. |
Examples
chlock /obj/model +t?Locks all the translate parameters on the /obj/model object.
chlock /obj/model +rx +ryLocks the rx and ry parameters on the /obj/model object.
chlock /obj/model -r?Unlocks all the rotate parameters in the /obj/model object.
chlock /obj/model -*Unlocks all parameters in the /obj/model object.
chlock -d /obj/modelPrints the chlock command for /obj/model.