Modify Dictionary

Description

 

Set a value on a Dictionary using a specified key. If the key already exists, it will overwrite the value with the new one.

 

Properties

Triggers Immediately

Dictionary Type

Behaviour: Perform the function on a Dictionary Behaviour.

Value: Performs the function on a JSON formatted value.

Modification

Set Key Value: Add a new key value or overwrite an existing one.

Set Dictionary: Removes the contents of the dictionary and replaces it with the keys and values from a specified dictionary.

Delete Key: Delete a value associated with a specified key.

Delete All Keys: Remove all key values in the dictionary.

Key (Set Key Value, Delete Key) The key of the value you want to modify.
Value (Set Key Value) The value you want to store in the dictionary.

Outputs

Key Values

Outputs the modified keys and values stored in the dictionary.

 

 

Examples 

If you have an inventory system, and you want to equip HELMET on the HEAD key.

 

Related

Array

Box Container

Dictionary

Get Array Value

Get Dictionary Value

Modify Array

Value

 

ModifyArrayReference.gif

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.