IntroWML

From The Battle for Wesnoth Wiki
Revision as of 11:27, 20 January 2006 by Jorda (talk | contribs)

The [story] tag

The [story] tag is a series of images and text to display as the first part of the intro screen.

The only tag recognized for [story] is [part]. Each [part] represents one image and text. The part is displayed until the user clicks on the "Next>>>" button.

The following key/tags are recognized for [part]:

  • background the image to display. Story images are usually created specially for this purpose, except for the map.
  • story (translatable) the text to display below the image.
  • show_title whether to display the title of the scenario at the top
  • music change to this music
  • [image] an image to display.
    • x, y the location in pixels to draw the image.
    • file the image to display.
    • delay the time to delay drawing this image.

See also the DOT and CROSS macros, in UtilWML

See Also