Hi,
I'm not sure whether I'm using the <unitAttacking> event incorrectly, but I have been unable to get it to trigger with any of the included MG scenarios I tried. As per the wiki, it should trigger when any unit attacks another unit. As a test, I'm putting a simple addConsoleText code (which works perfectly fine elsewhere) in the Amazones scenario file like so:
<unitAttacking>
addConsoleText('Attacking')
</unitAttacking>
My interest in this event is to try create a rudimentary cost system for attacking units. Currently, Glest engines only have an EP cost for attacks but it would be very useful if there was an optional system whereby attacks cost a certain number of one or more resources.
Also, if I may suggest: it would also be very useful for modders to have a sample scenario file that has a worked example of each of the available events.