I'm working on a system where I need to fire projectiles based on where a player clicks.
Requirements:
They have to go off when they hit a tree, a specified doodad (like a rock) or a unit.
They have to go a specified distance.
They have to move in a straight line.
I'm rather bad with the data editor, so most of my work has been with the trigger editor, but I can't find a way to do this. I currently have flying banelings with no collision and a battlecruiser model flying around, but they go around trees, sometimes bug and take completely non-linear paths. Any ideas?
Additionally, I'm trying to make normal units simply stop when they hit trees, instead of automatically going around them. How do I implement this?
I'm working on a system where I need to fire projectiles based on where a player clicks.
Requirements:
They have to go off when they hit a tree, a specified doodad (like a rock) or a unit.
They have to go a specified distance.
They have to move in a straight line.
I'm rather bad with the data editor, so most of my work has been with the trigger editor, but I can't find a way to do this. I currently have flying banelings with no collision and a battlecruiser model flying around, but they go around trees, sometimes bug and take completely non-linear paths. Any ideas?
Additionally, I'm trying to make normal units simply stop when they hit trees, instead of automatically going around them. How do I implement this?