Return value#

Type Meaning
none (MD action) Types describe the declared interface, not proof of a successful game effect.

Types and methods

XML attributes#

How schema types work

libraries/common.xsd

Attribute Schema type Required Default / fixed
chance expression no not declared
weight expression no not declared
comment comment no not declared
actor actor yes not declared
page pagewithdefault no not declared
line lineorlist no not declared
delay speakdelay no not declared
emotion speakemotion no not declared
timer speaktimer no not declared
interruptontimer speakinterruptontimer no not declared
priority expression no not declared
caninterrupt booleanexpression no not declared
recipient expression no not declared
topic expression no not declared
backgroundcomm booleanexpression no not declared
broadcast booleanexpression no not declared
voiceover booleanexpression no not declared
check boolean no not declared

libraries/voicesequences.xsd

Attribute Schema type Required Default / fixed
page xs:positiveInteger no not declared
line xs:positiveInteger yes not declared
priority xs:integer no not declared
nosubtitles xs:boolean no not declared
filter xs:string no not declared

An MD action can write to a named variable or change the world. This is not a Lua return value. The output variable depends on the action and its attributes.

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.