How can you make units end the level by moving to a certain

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
TinTin2
Posts: 29
Joined: April 5th, 2006, 10:40 pm

How can you make units end the level by moving to a certain

Post by TinTin2 »

point?
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Re: How can you make units end the level by moving to a cert

Post by scott »

TinTin2 wrote:point?

Code: Select all

[event]
name=moveto

[filter]
x=10
y=1
description=hero or type=Spearman or side=1 or whatever
[/filter]

[message]
speaker=narrator
message= _ "you just triggered a moveto event."
[/message]
[endlevel]
result=victory
bonus=yes
[/endlevel]

[/event]
Hope springs eternal.
Wesnoth acronym guide.
LibrarianBrent
Posts: 124
Joined: April 13th, 2004, 12:58 am
Location: Earth

Post by LibrarianBrent »

Use a moveto event.
Wesnoth: It's poetry in motion...
Post Reply