logic_context_accessor is a point entity available with any version of Mapbase.

A logic entity that could read an entity’s response contexts. Use the target and context name keyvalues if you want to store a specific target and/or context. Use the ‘Test’ input to look for the context on the target. The ‘OutValue’ output will fire with the context’s value if it is found.



KeyValues

- Target Entity (target) <target_destination>
The entity with the context to measure.
- Context Name (context) <string>
The name of the context to measure.

Inputs

- Test <void>
Gets the stored context's value from stored target.
- TestContext <string>
Tests the specified context against the target instead of using the stored context. Does not change the stored context.
- TestTarget <target_destination>
Tests the specified target against the context instead of using the stored target. Does not change the stored target.
- SetContext <string>
Sets the context to measure.
- SetValue <string>
Sets the stored target's stored context value to the specified string.

Outputs

- OutValue <string>
Fires when a context is found. Passes its value.
- OnFailed <void>
Fires when this entity fails to find the specified context.