Kill

The kill module allows users to kill agents during the simulation based on a metadata value. 

At each frame the agent metadata with the given name will be compared to the given values and in case it matches any of the criteria the agent will be killed.

For integers and doubles a frame range can be provided.



AttributesTypeOverridableDescription
metadataNamestringnoThe metadata name
boolValueboolnoThe bool value
stringValuestringnoThe string value
intMinValueintnoThe min value for the integer range.
intMaxValueintnoThe max value for the integer range.
doubleMinValuedoublenoThe min value for the double range.
doubleMaxValuedoublenoThe max value for the double range.
invertboolyesIf set to true, kills all the agents with a metadata value different from the provided one

Copyright © 2017, Toolchefs LTD.