Home Reference HScript commands 

chautoscope hscript command

Changes autoscope property of parameters (automatically scope when object is selected).

Usages

  1. chautoscope node_path [+|-]parameter ...

  2. chautoscope -d [-u] node_path [parameter] ...

This command can be used turn autoscoping on or off for parameters. Prefix the parameter pattern with a + to turn autoscope on for the parameter, or - to turn it off for the parameter.

Options

-d

Prints the chautoscope command for the given parameters. If no parameters are given, prints the chautoscope command for the entire node.

-u

Normally, the -d option with no parameters given will print the parameters with the autoscope flag set. This option prints the parameters with the flag unset. It is only valid with the -d option and no parameters specified.

-q

Quiet mode suppresses error and warning messages.

Examples

chautoscope /obj/model +t?
Turn autoscope on for all translate parameters on the /obj/model object.

chautoscope /obj/model +rx +ry
Turn autoscope on for the rx and ry parameters on the /obj/model object.

chautoscope /obj/model -r?
Turn autoscope off for all the rotate parameters in the /obj/model object.

chautoscope /obj/model -*
Turn autoscope off for all parameters in the /obj/model object.

chautoscope -d /obj/model
Prints the chautoscope command for /obj/model.

Replaced by