You are not logged in

Does (and should) not invoke the end of the scenario becasue in the same event (or rather in the same user action (here:'move')) the WML might give the sides the units back s that they have leaders at the end of the move. If you want to make sure to invoke a victory/defeat use [endlevel].

The code has been changed to perform a check_victory after every user action (especialy after every move) so the case posted in the first post will now lead to a defeat immidiately unless there are some other moveto events which do other stuff to prevent it.

Switching to feature request, since firing events (whether in [kill] or elsewhere) has never triggered the end of a scenario. So this would be a change of semantic for events. (Not that it is a bad idea, just that it is not a bug.)

Copyright (C) 2004-2006, the Gna! people. Posted items are owned by whoever posted them.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.