Difference between revisions of "MAPINFO/Cluster definition"
From ECWolf Wiki
(Created page with "A cluster is a grouping of maps, usually, but not necessarily, separated by story elements. This should not be confused with episodes. == Block ...") |
DavidAramant (talk | contribs) |
||
Line 1: | Line 1: | ||
− | A cluster is a grouping of maps | + | A cluster is a grouping of maps usually (but not necessarily) separated by story elements. This should not be confused with [[MAPINFO/Episode definition|episodes]]. |
== Block syntax == | == Block syntax == | ||
− | + | <tt>cluster <positive integer> { ''properties'' }</tt> | |
:Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1. | :Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1. | ||
== Block properties == | == Block properties == | ||
− | * | + | * <tt>exittext = "<text>"</tt> |
− | * | + | * <tt>exittext = lookup, "<string>"</tt> |
− | :When exiting a level with transitions to a different cluster | + | :When exiting a level with transitions to a different cluster this message will be displayed. Use lookup to use a message from the [[LANGUAGE]] lump. |
− | * | + | * <tt>exittextislump</tt> |
:The exit text is a lump containing a message to display. | :The exit text is a lump containing a message to display. | ||
− | * | + | * <tt>exittextismessage</tt> |
− | :Instead of showing an art screen | + | :Instead of showing an art screen, just pop up a message box. Used for the Spear of Destiny Demo end screen, for example. |
Latest revision as of 19:56, 4 January 2017
A cluster is a grouping of maps usually (but not necessarily) separated by story elements. This should not be confused with episodes.
Block syntax
cluster <positive integer> { properties }
- Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1.
Block properties
- exittext = "<text>"
- exittext = lookup, "<string>"
- When exiting a level with transitions to a different cluster this message will be displayed. Use lookup to use a message from the LANGUAGE lump.
- exittextislump
- The exit text is a lump containing a message to display.
- exittextismessage
- Instead of showing an art screen, just pop up a message box. Used for the Spear of Destiny Demo end screen, for example.