URL:
  <http://gna.org/bugs/?21804>

                 Summary: unexpected death animation
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Sun 16 Mar 2014 08:14:09 PM UTC
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.11+dev
        Operating System: any

    _______________________________________________________

Details:

insert the following code into mp scenario 2p_Hamlets.cfg:
++
        [event]
                name=turn 1
                {UNIT 2 Troll 10 5 (hitpoints,id=0,kill_me)}
                [set_menu_item]
                        id=kill
                        description=_"kill"
                        [command]
                                [kill]
                                        id=kill_me
                                        fire_event=yes
                                        animate=yes
                                [/kill]
                        [/command]
                [/set_menu_item]
        [/event]
        [event]
                name=last breath
                [filter]
                        id=kill_me
                [/filter]
                [kill]
                        id=$unit.id
                        animate=yes
                [/kill]
                {UNIT 1 Troll $x1 $y1 (id=should_live)}
                [message]
                        id=should_live
                        message=_"I should live!"
                [/message]
        [/event]
--
Start a game and click the right-click menu added above. This first kills
kill_me and plays according animation, but also plays the animation a second
time for should_live. should_live is still alive although not visible
afterwards (present in the unit_map as shown by :inspect), he's just not
displayed until clicking his location.
Note that it doesn't happen if kill_me is killed by an attack of the near
leader.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21804>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to