Meaning#
checkeventsource: Controls diagnostics for a missing event-source object; its default is true. Changing a source variable alone does not restart the condition.
An XSD type constrains XML, rather than declaring a Lua return or the payload type of event.param. A valid schema value does not prove a successful game effect.
Schema structure#
libraries/common.xsd
| Property | Value |
|---|---|
| Construction | restriction |
| Base type | boolean |
restriction narrows a base type; union accepts one of its branches; list describes whitespace-separated items. Enumeration values in one restriction are alternatives. Pattern syntax is XML Schema regex, not Lua patterns or JavaScript RegExp. Constraints inherited from the base type still apply.
Example and result#
<event_object_collided object="$Ship" check="false" />What happens: check="false" suppresses this missing-source diagnostic. A later variable change does not automatically create a valid subscription.
Object and group variables must already exist in the correct MD / AI context. These are learning fragments, not a complete runnable mission.
Used by#
| Element | Attribute | Schema |
|---|---|---|
event_build_added |
check |
libraries/common.xsd |
event_build_cancelled |
check |
libraries/common.xsd |
event_build_finished |
check |
libraries/common.xsd |
event_character_animation_finished |
check |
libraries/common.xsd |
event_character_animation_started |
check |
libraries/common.xsd |
event_long_range_scan_sent |
check |
libraries/common.xsd |
event_object_changed_true_owner |
check |
libraries/common.xsd |
event_object_collided |
check |
libraries/common.xsd |
event_object_destroyed |
check |
libraries/common.xsd |
event_object_dock_too_far |
check |
libraries/common.xsd |
event_object_docked |
check |
libraries/common.xsd |
event_object_docking_aborted |
check |
libraries/common.xsd |
event_object_docking_denied |
check |
libraries/common.xsd |
event_object_docking_impossible |
check |
libraries/common.xsd |
event_object_docking_queued |
check |
libraries/common.xsd |
event_object_order_cancelled |
check |
libraries/common.xsd |
event_object_order_finished |
check |
libraries/common.xsd |
event_object_order_ready |
check |
libraries/common.xsd |
event_object_signalled |
check |
libraries/common.xsd |
event_object_undocked_from |
check |
libraries/common.xsd |
event_object_undocking_started |
check |
libraries/common.xsd |
event_weapon_fired |
check |
libraries/common.xsd |
signal_objects |
check |
libraries/common.xsd |