I'm trying to make it so when an enemy gets shot/destroyed by the character's bullet, it has a chance of spawning a powerup. Is this possible right now? I was thinking of attaching something to death animation but can't seem to be able to spawn an action when the death animation occurs for enemy death. Anyone know how to make items/actions spawn randomly (maybe like 33% chance) when an enemy is destroyed?