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

                 Summary: Add an undo event type
                 Project: Battle for Wesnoth
            Submitted by: zookeeper
            Submitted on: Wednesday 26/03/08 at 15:08
                Category: Feature Request
                Severity: 1 - Wish
                Priority: 3 - Low
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: all

    _______________________________________________________

Details:

Until the more complicated FR #5917 is implemented (if ever), the following
probably trivial to add feature would allow WML authors to write hacks around
certain current limitations: an undo event, triggering whenever the player
uses undo. I don't think it strictly needs to support a [filter] for
filtering on the primary unit (when undoing a move, recruit or recall), but
it would be nice if it did. Also, this could be used when teaching about
undoing in the tutorial.


[event]
    name=undo
    first_time_only=no

    {DEBUG_MSG "You used undo!"}
[/event]


It would naturally be the WML author's responsibility to make sure he doesn't
cause OOS when using this.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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