In my map I have some structures that produce electricity (energy), and a modified medic heal ability that is used to transfer that power to other structures that need the energy to do stuff. The problem is that the ability automaticly shuts off if the targets energy is full or the casters energy runs out. I need the ability to stay on permanently until a player changes it, but of course I don’t want it to actually increase energy unless the castor has energy to give and I don’t want the casters energy to go down if the target is topped off. If something like this would be easier as a drain ability instead of a medic one, thats fine, but I have no idea how to make this work.
Does anyone know how to set this up? Thanks in advance.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my map I have some structures that produce electricity (energy), and a modified medic heal ability that is used to transfer that power to other structures that need the energy to do stuff. The problem is that the ability automaticly shuts off if the targets energy is full or the casters energy runs out. I need the ability to stay on permanently until a player changes it, but of course I don’t want it to actually increase energy unless the castor has energy to give and I don’t want the casters energy to go down if the target is topped off. If something like this would be easier as a drain ability instead of a medic one, thats fine, but I have no idea how to make this work.
Does anyone know how to set this up? Thanks in advance.