Well I've figured out a solution that doesn't require an inventory and still requires the powerup to be clicked on. Make a Set effect that links to whatever you want the powerup to do, and add "Suicide (Remove)" to the end of the set. Then set the unit's Powerup Effect field to that effect. Whenever a unit uses the powerup (which requires clicking on it, not just proximity) the powerup effect will be triggered and then the powerup will remove itself.
This does not require the triggering unit to have an inventory.
In my TD I do powerups by giving them a weapon which has the scan filters set up to search for any heroes within a range of 1, and the weapon effect destroys the powerup and applies a behavior to the hero. No need for mucking around with items.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Well I've figured out a solution that doesn't require an inventory and still requires the powerup to be clicked on. Make a Set effect that links to whatever you want the powerup to do, and add "Suicide (Remove)" to the end of the set. Then set the unit's Powerup Effect field to that effect. Whenever a unit uses the powerup (which requires clicking on it, not just proximity) the powerup effect will be triggered and then the powerup will remove itself.
This does not require the triggering unit to have an inventory.
In my TD I do powerups by giving them a weapon which has the scan filters set up to search for any heroes within a range of 1, and the weapon effect destroys the powerup and applies a behavior to the hero. No need for mucking around with items.