I am trying to create a trigger combination to "harvest" item from trees.
Basically every time it procs, instead of getting lumber, the trigger will add an item (like a wooden log) into the harvester's inventory. I already searched and tried for hours, several alternatives i've tried :
Of course if no solution is given probably i will just create a dummy tree unit and a spell to hit that tree. Won't be fun though with 5000 selectable trees in game
Basically every time it procs, instead of getting lumber, the trigger will add an item (like a wooden log) into the harvester's inventory. I already searched and tried for hours, several alternatives i've tried :
- Sentinel can't be used, because sentinel is hard coded to stuck into the tree until the tree dies whereas i need the tree to be alive.
- Eat tree is no good either because it is hard coded to kill the tree.
- Tried making multiple custom spells that is bound to target a tree only to find error message "must target a tree" whereas the tree is not selectable.
- Tried making custom trigger which procs when an event "a destructible is attacked", but doesn't work. Only works when killed. Duh.
Of course if no solution is given probably i will just create a dummy tree unit and a spell to hit that tree. Won't be fun though with 5000 selectable trees in game