e: unit enters playable map area (or spawning region)
c: unit-type of triggering unit equal to [spawned unit type]
a: add triggering unit to spawned_group
e: unit dies
c: triggering unit is in spawned_group equal to true
a: add x gold to owner of killing unit
remove triggering unit from spawned_group