MAPINFO/Cluster definition

From ECWolf Wiki
Revision as of 15:09, 2 October 2012 by Blzut3 (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 <number> { 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.