HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Non targeted frost bolt?

10-10-2008, 08:27 PM#1
cohadar
Is there a way to make a non-targeted missile spell (that hits first unit it encounters) without triggers?
10-10-2008, 08:34 PM#2
moyack
there's no Object editor way. You have to trigger it.
10-10-2008, 08:57 PM#3
the-thingy
Fan of Knives? Not sure if it can hit only one target though (there's probably an option, but I can't guarantee)
10-10-2008, 10:04 PM#4
Flame_Phoenix
Fan of Knives will hit multiple targets... I really think you will need to code it...
It's not that hard though ...
10-10-2008, 10:35 PM#5
the-thingy
Quote:
Originally Posted by Flame_Phoenix
Fan of Knives will hit multiple targets... I really think you will need to code it...
It's not that hard though ...
Just checked WE - there's Level # - Data - Maximum Number of Targets. Set it to 1, huzzah, problem solved(?). Haven't actually tested in-game, way too much trouble for my liking, but I assume the property is there for a reason
10-11-2008, 12:43 AM#6
Veev
Wow. Editing Fan of Knives is cool. You can change the number of maximum targets and it will pick the closest units (I think). The way you need to control the behavior is by setting Maximum Target to some number... But then, in the max damage field, this must equal (Max Target Number * Damage Per Target) in order for it to fire the right number of projectiles. Some other iffy behavior is if you have the max damage larger than this value, then some damage actually splashes over into other units. The splash damage appeared to affect nearby units, so you might actually want this functionality. Actually, I tested it again, and it will only ever hit a unit next to the actually target without making a projectile to this secondary target, however.

This is a little tl;dr, this is the only important part:
If max target is 1, damage per target is 75, but max damage is 149, it hits one unit and a secondary unit without a projectile. If you make the max damage 150, it will create two projectiles and hit two units. But then, it can actually spread the damage across 3 units but 2 projectiles... It's strange.
10-11-2008, 12:50 AM#7
Vexorian
Well, it looks like coding it is infinitely easier and more flexible than hoping to find a way to actually make fan of knives direct the missile at a specific direction, either way, how would you do the freeze effect with fan of knives?
10-11-2008, 01:03 AM#8
Veev
That is a very good point. Fan of Knives will, of course, pick a random unit in any direction. And it can't have a secondary effect ;).