Design Note

These scripts uses the Editor -> Design Note feature in Dromed to store their configuration, something you will have encountered in the past if you have used NVScript, tnhScript, or PublicScripts.

For some scripts, the Design Note may be left empty: some scripts may use the values set in other object attributes for configuration, or they may not support any setup at all. However, in practice the Design Note will contain one or more configuration parameters. Each parameter consists of three parts:

For example:

TWTrapSetSpeedDest='SomeTerrPt'

The value you can specify for any given parameter depends on its type. The documentation for each parameter says what type of value it expects you to give it, and it may require any of the following:

For the integer, float, boolean, and time types, you may also use a quest variable in place of a literal value. To do this, prepend the quest variable name with $. For example, this will use the value specified in the quest variable platform_speed:

TWTrapSetSpeedSpeed=$platform_speed

In addition, integer and float types can have simple mathematical operations included in the parameter value if the parameter starts with a quest variable. eg:

TWTrapSetSpeedSpeed=$platform_speed * $speed_mult
TWTrapSetSpeedSpeed=$platform_speed / 10.0
TWTrapSetSpeedSpeed=$platform_speed + $base_speed

Supported operations are addition +, multiplication *, and division /. Subtraction is not directly supported, but you can add a negative number for the same effect.

Note that, for float vector types, each value may be a quest variable:

TWTrapPhysStateCtrlLocation=$thingx, $thingy, $thingz;

Values may be enclosed in quotes, either single quotes or double quotes, but this is not required unless you are specifying a string containing a semicolon, in which case you must quote the string.

If more than one parameter is specified, semicolons are used to separate them, for example:

TWTrapSetSpeedSpeed=5;TWTrapSetSpeedDest='*TerrPt'
Version 2.0.4 (Hyde Park Corner)