- Joined
- Jan 11, 2009
- Messages
- 3,414
Hello everyone!
I am trying to make a custom resource system but have run into a snag.
My idea was to use a harvest ability which targets the resource, and when used triggers a timer which will cause it to keep harvesting (until otherwise ordered).
The problem is that very few abilities accept destructables as targets. Some of the few i know of are "Eat Tree", "War Club" and "Sentinel", all of which have very specific behaviors.
"Eat Tree" will pause the caster until the destructable is dead. This is ofcourse very unhandy since it will have to kill the tree/resource everytime the unit chops at it.
"War club" uses a similar mechanic.
"Sentinel" can only be cast once at each destructable. The effect is not removed until the tree dies. Using this would essentially mean i'd have to replace each destructable everytime i use this ability on them, if i want to target them any more, and this is very problematic for a number of reasons (not mentioning if you have saved the destructable in a variable someshere - this would break all references to it).
What will i have to do to get a simple dummy ability which can target destructables?
EDIT: What i mean is, abilities which can target destructables which are unselectable. Most abilities can target selectable destructables, i think.
I am trying to make a custom resource system but have run into a snag.
My idea was to use a harvest ability which targets the resource, and when used triggers a timer which will cause it to keep harvesting (until otherwise ordered).
The problem is that very few abilities accept destructables as targets. Some of the few i know of are "Eat Tree", "War Club" and "Sentinel", all of which have very specific behaviors.
"Eat Tree" will pause the caster until the destructable is dead. This is ofcourse very unhandy since it will have to kill the tree/resource everytime the unit chops at it.
"War club" uses a similar mechanic.
"Sentinel" can only be cast once at each destructable. The effect is not removed until the tree dies. Using this would essentially mean i'd have to replace each destructable everytime i use this ability on them, if i want to target them any more, and this is very problematic for a number of reasons (not mentioning if you have saved the destructable in a variable someshere - this would break all references to it).
What will i have to do to get a simple dummy ability which can target destructables?
EDIT: What i mean is, abilities which can target destructables which are unselectable. Most abilities can target selectable destructables, i think.
Last edited: