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/aiscripts.xsd

Attribute Schema type Required Default / fixed
yaw expression no not declared
pitch expression no not declared
roll expression no not declared
value expression no not declared
comment comment no not declared

libraries/common.xsd

Attribute Schema type Required Default / fixed
yaw expression no not declared
pitch expression no not declared
roll expression no not declared
value expression no not declared
comment comment no not declared

libraries/effects.xsd

Attribute Schema type Required Default / fixed
pitch xs:float no not declared
yaw xs:float no not declared
roll xs:float no not declared

libraries/gamestarts.xsd

Attribute Schema type Required Default / fixed
yaw expression no not declared
pitch expression no not declared
roll expression no not declared
value expression no not declared
comment comment no not declared

libraries/objectspawnpoints.xsd

Attribute Schema type Required Default / fixed
yaw xs:float no not declared
pitch xs:float no not declared
roll xs:float no not declared

libraries/parameters.xsd

Attribute Schema type Required Default / fixed
yaw xs:float no not declared
pitch xs:float no not declared
roll xs:float no not declared

libraries/parameters.xsd

Attribute Schema type Required Default / fixed

libraries/parameters.xsd

Attribute Schema type Required Default / fixed
min xs:float no not declared
max xs:float no not declared

libraries/region_definitions.xsd

Attribute Schema type Required Default / fixed
yaw xs:float no not declared
pitch xs:float no not declared
roll xs:float no not declared

libraries/regionyields.xsd

Attribute Schema type Required Default / fixed
yaw xs:float no not declared
pitch xs:float no not declared
roll xs:float 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.