- Joined
- Jan 28, 2015
- Messages
- 172
I'm trying to make a simple custom spell for an rpg I'm making.
I used a storm bolt as basis for this spell but used an arrow model
Here's what I wanted to do:
The arrow is shot, dealing x amount of damage to the target, stunning it for x seconds, AND nearby enemy units.
Only the main target is damaged, while both main and nearby are stunned.
I used a dummy unit with a dummy storm bolt, no CD, 99999 range, no mana cost.
I've been testing it and tweaking the trigger below, but can't seem to make the stunning nearby units work. I used "none.mdl" for the dummy unit, if that is relevant.
I used a storm bolt as basis for this spell but used an arrow model
Here's what I wanted to do:
The arrow is shot, dealing x amount of damage to the target, stunning it for x seconds, AND nearby enemy units.
Only the main target is damaged, while both main and nearby are stunned.
I used a dummy unit with a dummy storm bolt, no CD, 99999 range, no mana cost.
I've been testing it and tweaking the trigger below, but can't seem to make the stunning nearby units work. I used "none.mdl" for the dummy unit, if that is relevant.