Civ.scen.onUnitKilled: Difference between revisions

From Scenario League Wiki
Jump to navigationJump to search
(Begin documentation for this function)
 
mNo edit summary
 
Line 2: Line 2:


The unit killed event runs ''after'' the winner is promoted to veteran status.
The unit killed event runs ''after'' the winner is promoted to veteran status.
If the loser is the attacking unit, you can't use loser.location to get the location of combat.  It will return a "tile" off the map.

Latest revision as of 19:22, 23 May 2019

Back to The scenario library

The unit killed event runs after the winner is promoted to veteran status.

If the loser is the attacking unit, you can't use loser.location to get the location of combat. It will return a "tile" off the map.