Yep. To use my favorite example, "Lost Avenue"Okay so this would be placed in the "battlescript.csv" then?
evtfighting OOB_U_49_NY loadscreen:courier:REB_Message2
- This says if the 49th NY starts fighting then display REB_Message2 which spanks the CSA player for entering into a general engagement warned of in REB_Message1. Both of which are defined in the screen.txt file.
evtdeath OOB_U_THNeill endscenario:EndPlayerDie
- This says if the Union Commander dies then end the scenario and show the "Too Bad the Commander is Dead. Scenario Over" screen. In this case it would be a CSA victory.
So all you would have to do is couple the evtintrouble command with a showunit command and you'd be there.