I know this seems like a noob question, but ive been working on making a grow tree spell for an hour now...
this is what ive got..
events:
a unit begins casting an ability
conditions:
ability being cast equal to plant seeds (dummy spell)
Actions:
Destructible - Create a crops at (target point of ability being cast) facing random angle with scale 1 and variation 1
the spell does work, except one thing. I cant harvest the "crops" once the trigger spawns them. They appear to have no collision size and there not selectable. So I cannot target them with my peasant.
And when I place the same "crops" via world editor, the peasant can harvest it just fine.
and just for the info, the dummy spell for "plant seeds" is death and decay.
and the crops model is flowers variation 1, pathing texture mushrooms <base>.
------------
basicly what im trying to do is make a farming system, so a peasant casts a spell, then a tree with the model file of flowers appears at the point of the cast. Then the peasent can harvest the tree...
for some reason its just not working for me. its weird.
what would be even better is if i make it so you can build trees with peasents, without the use of a spell. So trees would be units (not destructibles)
this is what ive got..
events:
a unit begins casting an ability
conditions:
ability being cast equal to plant seeds (dummy spell)
Actions:
Destructible - Create a crops at (target point of ability being cast) facing random angle with scale 1 and variation 1
the spell does work, except one thing. I cant harvest the "crops" once the trigger spawns them. They appear to have no collision size and there not selectable. So I cannot target them with my peasant.
And when I place the same "crops" via world editor, the peasant can harvest it just fine.
and just for the info, the dummy spell for "plant seeds" is death and decay.
and the crops model is flowers variation 1, pathing texture mushrooms <base>.
------------
basicly what im trying to do is make a farming system, so a peasant casts a spell, then a tree with the model file of flowers appears at the point of the cast. Then the peasent can harvest the tree...
for some reason its just not working for me. its weird.
what would be even better is if i make it so you can build trees with peasents, without the use of a spell. So trees would be units (not destructibles)