logic_keyfield
logic_keyfield is a point entity available
with any version of Mapbase.A logic entity that could read an entity’s keyfields. Use the target and key name options if you want to store a specific target and/or keyvalue. Use the ‘Test’ input to look for the key within the target’s datadesc. The ‘OutValue’ output will fire with the keyfield’s value if it is found.
Please note that some keyvalues do not work with this entity. (most do though, so don’t worry about it)
KeyValues
- Target Entity (target) <target_destination>
The entity with the key to measure.
The entity with the key to measure.
- Key Name (keyname) <string>
The name of the key to measure.
The name of the key to measure.
Inputs
- Test
<void>
Gets the stored key's value from stored target.
Gets the stored key's value from stored target.
- TestKey
<string>
Tests the specified key against the target instead of using the stored key. Does not change the stored key.
Tests the specified key against the target instead of using the stored key. Does not change the stored key.
- TestTarget
<target_destination>
Tests the specified target against the key instead of using the stored target. Does not change the stored target.
Tests the specified target against the key instead of using the stored target. Does not change the stored target.
- SetKey
<string>
Sets the key to measure.
Sets the key to measure.
- SetValue
<string>
Sets the stored target's stored key value to the specified string.
Sets the stored target's stored key value to the specified string.
Outputs
- OutValue
<string>
Fires when a keyfield is found. Passes its value.
Fires when a keyfield is found. Passes its value.
- OnFailed
<void>
Fires when this entity fails to find the specified keyfield.
Fires when this entity fails to find the specified keyfield.
