bugBattle for Wesnoth - Bugs: bug #21464, Add a pre advance event

Show feedback again

bug #21464: Add a pre advance event

Submitted by:  Matthias Schoeck <mattsc>
Submitted on:  Thu Jan 9 14:57:41 2014  
Category: Feature RequestSeverity: 1 - Wish
Priority: 3 - LowItem Group: WML
Status: FixedPrivacy: Public
Assigned to: Daniel <gfgtdf>Open/Closed: Closed
Release: 1.11.8+devOperating System: OS X 10.9

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Aug 5 12:09:06 2014, comment #1:

https://github.com/wesnoth/wesnoth/pull/264 to imeplementthis.

Thu Jan 9 14:57:41 2014, original submission:

Currently, the earliest event available when a unit advances fires when the advancement path is already chosen, which in particular also means it fires after the user has gone through the advancement dialog if there are several options. In my opinion, it would make sense to add another event that fires before all this happens. This would have several advantages (I'm sure that there are others):

  • The wiki says that "if this event removes the unit, changes the unit's type, or reduces the unit's experience below what it needs to advance, then the advancement is aborted." It would be nicer and less confusing if this happened before the advancement dialog is shown.
  • It'd be possible to display messages or other things before anything related to advancements happens.
  • One could even modify the possible advancement options to take effect for the advancement process about to start.

I am not suggesting to modify the existing "advance" event in any way, but simply to add a "preadvance" event.

Matthias Schoeck <mattsc>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by gfgtdf (Updated the item)
  • -unavailable- added by mattsc (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Apr 20 03:45:20 2015shadowmasterOpen/ClosedOpen=>Closed
    Wed Apr 8 10:10:13 2015shadowmasterAssigned toNone=>gfgtdf
    Wed Aug 6 15:43:49 2014gfgtdfStatusNone=>Fixed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup