Difference between revisions of "IntroWML"
From The Battle for Wesnoth Wiki
(→The [story] tag) |
|||
Line 1: | Line 1: | ||
+ | {{WML Tags}} | ||
== The [story] tag == | == The [story] tag == | ||
Revision as of 00:27, 22 March 2006
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