Spawning entities after something happened

How would i code something to happen after a event occurs, i.e, after a fireball explodes, a aoe cloud spawns.

Continue to help post