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

A logic entity that could read or write any field in an entity’s data description, keyvalue or not, based on its internal name. It otherwise functions identically to logic_keyfield.

You’d better know what you’re doing.



KeyValues

- Target Entity (target) <target_destination>
The entity whose data description will be measured.
- Element Name (keyname) <string>
The internal name (e.g. m_iName) of the field to measure. Use the ''ent_info_datatable'' command followed by an entity's class name to see all of their fields.

Inputs

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

Outputs

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