Summon, move.

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

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
tribes45
Posts: 123
Joined: June 24th, 2010, 12:40 am

Summon, move.

Post by tribes45 »

Can anyone tell me what's wrong with this? It only will say what one of the units say.. :/

Code: Select all

[event]
name=turn 2

[message]
speaker=Karifu
message= _ "Kial, Get out here."
[/message]
[unit]
type=Elvish Outrider
id=Elvish Outrider5
name= _ "Kial"
side=2
x=43
y=9
[/unit]
[filter]

[message]
speaker=Kial
message= _ "Yes, My lord?"
[/message]
[message]
speaker=Karifu
message= _ "Ride off to the hunting grounds, Alert our troops of what's occuring."
[/message]
[message]
speaker=Kial
message= _ "As you wish milord."
[/message]
{MOVE_UNIT (id=Kial) 50 1}
		[/event]
"In peace, sons bury their fathers. In war, fathers bury their sons." -Herodotus
"Two things are infinite, the universe and Human stupidity. Although, I'm not sure about the universe. -Albert Einstein
User avatar
ancestral
Developer
Posts: 1108
Joined: August 1st, 2006, 5:29 am
Location: Motion City

Re: Summon, move.

Post by ancestral »

What happens when you try deleting the [filter] tag?
Wesnoth BestiaryPREVIEW IT HERE )
Unit tree and stat browser
CanvasPREVIEW IT HERE )
Exp. map viewer
tribes45
Posts: 123
Joined: June 24th, 2010, 12:40 am

Re: Summon, move.

Post by tribes45 »

ancestral wrote:What happens when you try deleting the [filter] tag?

Oh wow, that was my mistake, an untrained eye. :) Thanks. Topic closed

EDIT:
NEVERmind, it still doesn't work.
"In peace, sons bury their fathers. In war, fathers bury their sons." -Herodotus
"Two things are infinite, the universe and Human stupidity. Although, I'm not sure about the universe. -Albert Einstein
User avatar
8680
Moderator Emeritus
Posts: 742
Joined: March 20th, 2011, 11:45 pm
Location: The past

Re: Summon, move.

Post by 8680 »

Change id=Elvish Outrider5 to id=Kial. [message]speaker= filters on [unit]id=, not [unit]name=.
tribes45
Posts: 123
Joined: June 24th, 2010, 12:40 am

Re: Summon, move.

Post by tribes45 »

8680 wrote:Change id=Elvish Outrider5 to id=Kial. [message]speaker= filters on [unit]id=, not [unit]name=.
Thanks, worked.
"In peace, sons bury their fathers. In war, fathers bury their sons." -Herodotus
"Two things are infinite, the universe and Human stupidity. Although, I'm not sure about the universe. -Albert Einstein
Post Reply