how to give a message only for one player ?
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.
how to give a message only for one player ?
In multiplayer mode, I want to give a message just for one player, when one of his units go in a special case :
[item]
x=54
y=32
image=items/signpost.png
[/item]
[event]
name=moveto
[filter]
side=3
x=54
y=32
[/filter]
[redraw]
[/redraw]
[message]
speaker=narrator
message= _ "the village"
[/message]
[/event]
My probleme is that all the players can read the message " the village" on the screen and not only the player number 3.
How to do that ?
Thank you.
[item]
x=54
y=32
image=items/signpost.png
[/item]
[event]
name=moveto
[filter]
side=3
x=54
y=32
[/filter]
[redraw]
[/redraw]
[message]
speaker=narrator
message= _ "the village"
[/message]
[/event]
My probleme is that all the players can read the message " the village" on the screen and not only the player number 3.
How to do that ?
Thank you.
I know objectives can be customized per player. Maybe you can pass a message by temporarily changing the objectives for that player. You would have to check the WML reference page in the wiki.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.