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

AttributesTypeOverridableDescription
triggerMetadataNamestringnoName of the metadata triggering the timer
triggerValuedoublenoValue of the trigger metadata for starting the timer
seedintnoRandom seed for timer randomizer
timervector2noRange for the random number of frames to trigger
repeatboolnoIf on, the timer will be restarted once elapsed
metadataNamestringnoMetadata name to set
typeintnoMetadata type id
boolValueboolyesMetadata boolean value
intValueintyesMetadata int value
doubleValuedoubleyesMetadata double value
vec3Valuevector3yesMetadata vector 3 value
quatValuevector3yesMetadata quaternion value -  This value is exposed as a euler rotation then inside the module is converted to a quaternion
matrixValuematrixyesMetadata matrix value
stringValuestringyesMetadata string value
keepValueboolyesIf 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.