Significado#
checkeventsource: Controla el diagnóstico de un objeto fuente de evento ausente; su valor predeterminado es true. Cambiar solo la variable de origen no reinicia la condición.
Un tipo XSD restringe el XML; no declara un retorno Lua ni el tipo de los datos de event.param. Un valor válido según el esquema no demuestra que el efecto ocurra en el juego.
Estructura del esquema#
libraries/common.xsd
| Propiedad | Valor |
|---|---|
| Construcción del tipo | restriction |
| Tipo base | boolean |
restriction restringe un tipo base; union acepta una de sus ramas; list describe elementos separados por espacios en blanco. Los valores enumeration de una misma restricción son alternativas. pattern usa expresiones regulares de XML Schema, no patrones Lua ni RegExp de JavaScript. Las restricciones heredadas del tipo base siguen aplicándose.
Ejemplo y resultado#
<event_object_collided object="$Ship" check="false" />Qué ocurre: check="falso" suprime este diagnóstico de fuente faltante. Un cambio de variable posterior no crea automáticamente una suscripción válida.
Las variables de objetos y grupos deben existir previamente en el contexto MD / AI correcto. Son fragmentos didácticos, no una misión completa ejecutable.
Utilizado por#
| Elemento | Atributo | Esquema |
|---|---|---|
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 |