This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I want to make a spell that shoots out a projectile, but once it comes into contact with one unit, it disappears.
(e.g. Shoot bullet, hit unit.)
I don't want it to pierce, unless I plan on doing it that way. So anyone have any idea on how I can do this?
So I don't need to use triggers? This is all possible through the data editor?
When you say 'disappear' do you mean that the projectile doesn't even damage the unit, or that the projectile lag a death model, so it would - > hit -> dmg -> instead of the usual explosion, it would simply vanish with no impact model?
No need to open a second thread in the data forums.
You can create such a spell in data or with triggers. Which one you want to use is up to you.
If you want it in data, there are some tutorials available ( Fireball by OneTwo, Colliding Projectiles )
As far as triggers go, you could use dummy units, order them around and use range events to check for collisions.
Thanks guys. Sorry for opening, but it seemed like no one uses the trigger editor for those spells.
@Frozen_Shadow: Go
That's because it is way easier with the data editor ;)
Quote from nThrX: GoThat's because it is way easier with the data editor ;)
Oh, I seriously doubt that ;)
I want to make a spell that shoots out a projectile, but once it comes into contact with one unit, it disappears.
(e.g. Shoot bullet, hit unit.)
I don't want it to pierce, unless I plan on doing it that way. So anyone have any idea on how I can do this?
So I don't need to use triggers? This is all possible through the data editor?
When you say 'disappear' do you mean that the projectile doesn't even damage the unit, or that the projectile lag a death model, so it would - > hit -> dmg -> instead of the usual explosion, it would simply vanish with no impact model?
No need to open a second thread in the data forums.
You can create such a spell in data or with triggers. Which one you want to use is up to you.
If you want it in data, there are some tutorials available ( Fireball by OneTwo, Colliding Projectiles )
As far as triggers go, you could use dummy units, order them around and use range events to check for collisions.
Thanks guys. Sorry for opening, but it seemed like no one uses the trigger editor for those spells.
@Frozen_Shadow: Go
That's because it is way easier with the data editor ;)
Oh, I seriously doubt that ;)