Trigger Reference

Dolmexica Infinite, presented by Dogma 2018-2023

Documentation for release version (2023)

Updated 30 June 2023

Contents

About Triggers

This is an alphabetical index of function-type triggers that were added for Dolmexica Infinite. For details on the use of function-type triggers in expressions, see the expression documentation fom the original M.U.G.E.N documentation. Dolmexica Infinite also contains the triggers defined by M.U.G.E.N For documentation for those, consult the original M.U.G.E.N documentation as well. Changes to original triggers are documented in the Dolmexica Changes documentation.

For more information on triggers, check the original M.U.G.E.N trigger documentation. Unless otherwise specified, documentation style for Dolmexica triggers follows the outlines presented in the original M.U.G.E.N trigger documentation.

GlobalFVar

This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified global float variable. Global variables carry over between fights/storyboards.

Format:
GlobalFVar(exprn)
Arguments:
exprn
An expression evaluating to a variable number.
Return type:
float
Error conditions:
Returns bottom if exprn evaluates to bottom.

Example:

trigger1 = GlobalFVar(5) = -1.23
  Triggers if the value of global float variable 5 is -1.23.

GlobalSVar

This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified global string variable. Global variables carry over between fights/storyboards.

Format:
GlobalSVar(exprn)
Arguments:
exprn
An expression evaluating to a variable number.
Return type:
string
Error conditions:
Returns bottom if exprn evaluates to bottom.

Example:

trigger1 = GlobalSVar(5) = "TestString"
  Triggers if the value of global string variable 5 is TestString.

GlobalVar

This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified global integer variable. Global variables carry over between fights/storyboards.

Format:
GlobalVar(exprn)
Arguments:
exprn
An expression evaluating to a variable number.
Return type:
int
Error conditions:
Returns bottom if exprn evaluates to bottom.

Example:

trigger1 = GlobalVar(5) = 23
  Triggers if the value of global integer variable 5 is 23.

Platform

Returns platform Dolmexica is running on as string. Returns "dreamcast" on Dreamcast, "windows" on Windows, "web" on Web, "vita" on Vita.

Format:
Platform
Arguments:
none
Return type:
string
Error conditions:
none

Example:

trigger1 = Platform = "dreamcast"
  Triggers if Dolmexica Infinite is running on the Sega Dreamcast.