URL:
<http://gna.org/bugs/?12885>
Summary: Second unit not always selected on sighted event
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Wednesday 01/21/09 at 17:13 CET
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.4.7
Operating System: GNU/Linux
_______________________________________________________
Details:
I have found that sighted events works different about who is moving. If the
movement is done by the unit who sees, all seems to work properly. But if the
unit moving is the one who is sighted, the second unit is not selected when
the event is fired. An example:
[event]
name=sighted
[filter]
side=3,4,5
[/filter]
[message]
speaker=unit
message=_"I was spotted."
[/message]
[message]
speaker=second_unit
message=_"I saw you!"
[/message]
[/event]
If ex. side 1 is moving, and discover 3,4 or 5, we see "I was spotted." and
then "I saw you!". But when side 3,4 or 5 are discovered during their own
turn we only see "I was spotted". Filtering the second unit will make the
event not fired in this case.
I cannot assure, but I think that years ago that worked well.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12885>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs