URL:
  <http://gna.org/patch/?1960>

                 Summary: a [secondary_unit] tag for [kill]fire_event=yes
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Sonntag 12.09.2010 um 19:32
                Priority: 5 - Normal
                  Status: Works For Me
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Well, while doing wml I had this wish so here it is so people can comment.
The first on-map unit which is found and matches the SUF becomes second_unit
in the last breath and die events. If there are more than one units killed,
it is the same second_unit for all of these since there's no way to influence
the dependency on primary_unit for the wml author anyway.
If fire_event=no or the filter matches no on-map unit nothing changed
compared to current behavior (second_unit=primary_unit for all of the last
breath/die events each).

        [event]
                name=turn 2

                [unit]
                        type=Troll
                        side=1
                        x=30
                        y=10
                        id=tokill
                [/unit]
                [kill]
                        [not]
                                type=Troll Shaman
                                [or]
                                        canrecruit=yes
                                [/or]
                        [/not]
                        fire_event=yes
                        [secondary_unit]
                                type=Troll Shaman
                        [/secondary_unit]
                [/kill]

        [/event]






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sonntag 12.09.2010 um 19:32  Name: second_unit_new.patch  Size: 2kB  
By: anonymissimus

<http://gna.org/patch/download.php?file_id=10327>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1960>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to