Update of bug #18713 (project wesnoth):

                Category:                     Bug => Feature Request        

    _______________________________________________________

Follow-up Comment #3:

Changing to feature request, since the behavior is and was intended.
Added events (also ones that may be added via [unit_type][event]
and menu items) are not active until the current event call stack has
finished.
Another workaround which is supposed to work (untested) is this though:
++
    [event]
        name=prestart
        [event]
            name=foobar
            first_time_only=no
            [kill]
                x=1-1000
                y=1-1000
            [/kill]
        [/event]
    [/event]
    [event]
        name=prestart
        [fire_event]
            name=foobar
        [/fire_event]
    [/event]
--
since name=foobar is created and fired in different call stacks then.
It is afaik also guaranteed that the 2 events of the same type are executed
directly after each other and in the order in which they appear in the
scenario.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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