Return value#
| Type | Meaning |
|---|---|
| event data | Types describe the declared interface, not proof of a successful game effect. |
XML attributes#
libraries/common.xsd
| Attribute | Schema type | Required | Default / fixed |
|---|---|---|---|
chance |
expression |
no | not declared |
comment |
comment |
no | not declared |
actor |
genericactor |
no | not declared |
section |
section |
no | not declared |
sectionprefix |
namestring |
no | not declared |
choiceparam |
expression |
no | not declared |
Filter attributes are not the event payload. The types of event.param, event.param2 and subsequent fields must be established for this exact event; the filter schema alone does not declare them.
Example and context#
See language basics, types and methods and Lua / MD events. Examples there are independent learning examples. No project source files or private implementation fragments are distributed with this reference.