I am pretty sure you can add a list of random effects to the "damage" affect. Something of that nature. You can add say a 10% chance to do any 1 of a list of other affects. On that list can be to spawn a unit; make a dozen spawn unit's to represent items. I assume you would want to use a validator to check for fatal damage.
you could also put a behavior on all units so that when they take fatal damage; the same happens. With much less work; you can trigger the entire ordeal.
I am pretty sure you can add a list of random effects to the "damage" affect. Something of that nature. You can add say a 10% chance to do any 1 of a list of other affects. On that list can be to spawn a unit; make a dozen spawn unit's to represent items. I assume you would want to use a validator to check for fatal damage.
you could also put a behavior on all units so that when they take fatal damage; the same happens. With much less work; you can trigger the entire ordeal.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418