User Tools

Site Tools


commands:dynamic_object_commands:object_setwhere

object_setwhere: <conditions> | <values>

Updates a Dynamic Object or a set of them that meet the specified conditions. Thus you can update objects without knowing their UIDs - but this is more computationally expensive.

  • conditions are a list of name/value pairs to filter the dynamic objects; note that these can only be equalities - the more complex operations available for variables are not supported.
  • values are a list of name/value pairs to append or update on the filtered objects.

Updating the Beatles…

object_setwhere: instrument=Guitar | dead=true

commands/dynamic_object_commands/object_setwhere.txt · Last modified: by 127.0.0.1