Skip to content

GetNativeXsDiagnostics

Read native xs diagnostics from current game state.

GetNativeXsDiagnostics([playerId[, unitId[, technology = 22[, objectType = 83]]]])

Inputs: All arguments are optional: integer game playerId, integer unitId, integer Technology ID (technology, default 22), and integer UnitObjectType ID (objectType, default 83).

Output: Troubleshooting table.

Errors and unavailable states: Wrong argument types can raise a Lua argument error. This call has no separate error return; check the live game state before depending on its result.

See Low-level queries for related calls and usage notes.