URL:
<http://gna.org/bugs/?15425>
Summary: unstored units lose description tooltips
Project: Battle for Wesnoth
Submitted by: mystic_x
Submitted on: Friday 02/19/2010 at 04:39
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.7.13
Operating System: .
_______________________________________________________
Details:
Units created with unstore_unit lose description tooltip and under some
circumstances also cause other units to lose description tooltips.
sample snippet below:
also attached 2 replays where we observe and comment on the changes to
tooltips.
[event]
name=recruit
first_time_only=no
[store_unit]
[filter]
x,y=$x1,$y1
[/filter]
variable=unit_to_change
mode=replace
[/store_unit]
{VARIABLE recruited 1}
[/event]
[event]
name=new turn
first_time_only=no
[if]
[variable]
name=recruited
equals=1
[/variable]
[then]
[kill]
x=$unit_to_change.x
y=$unit_to_change.y
animate=no
[/kill]
[unstore_unit]
find_vacant=no
variable=unit_to_change
[/unstore_unit]
[redraw][/redraw]
[/then]
[/if]
[/event]
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 02/19/2010 at 04:39 Name: unstore_tooltips.zip Size: 881kB
By: mystic_x
2 replays played with Nightmares of Meloen era
<http://gna.org/bugs/download.php?file_id=8167>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15425>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs