Timer metadata
The timer metadata module creates or changes a metadata on the agents when a timer has elapsed.
If no triggerMetadata is provided, the timer starts at the beginning of the simulation.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
triggerMetadataName | string | no | Name of the metadata triggering the timer |
triggerValue | double | no | Value of the trigger metadata for starting the timer |
seed | int | no | Random seed for timer randomizer |
timer | vector2 | no | Range for the random number of frames to trigger |
repeat | bool | no | If on, the timer will be restarted once elapsed |
metadataName | string | no | Metadata name to set |
type | int | no | Metadata type id |
boolValue | bool | yes | Metadata boolean value |
intValue | int | yes | Metadata int value |
doubleValue | double | yes | Metadata double value |
vec3Value | vector3 | yes | Metadata vector 3 value |
quatValue | vector3 | yes | Metadata quaternion value -Â This value is exposed as a euler rotation then inside the module is converted to a quaternion |
matrixValue | matrix | yes | Metadata matrix value |
stringValue | string | yes | Metadata string value |
keepValue | bool | yes | If set to false and the repeat option is off, the module will restore the previous metadata value after the the timer is finished and the metadata has been set |
Copyright © 2017, Toolchefs LTD.