| 07-18-2006, 11:22 AM | #1 |
I wish to have an attack like barrage where i can attack multiple targets, set amount, every cooldown period while moving and if there are not X many targets within range, the attack focuses more than one missile on the units that are in range. I want it to be reliable, always send the same number of missiles no matter how many targets or whatever. Barrage doesn't work while moving. Phoenix fire is very unreliable. What can i do? ![]() |
| 07-18-2006, 11:38 AM | #2 |
Such complex behaviour must be custom scripted with JASS or GUI-triggers. |
| 07-18-2006, 01:52 PM | #3 | |
Quote:
I can do it with gui triggers by using the 'Unit - Damage Target' normal trigger.. The problem there lies is the missile effect... i have tried to do this with WEU and the 'Advanced - Special Effect - Create Missile Effect' trigger, but it is so delayed that it looks like the missiles are coming from where the attacker was a second ago... Any help with this would be greatly appretiated... ![]() |
| 07-18-2006, 02:51 PM | #4 |
You could try caster system's projectile functions instead, but well that's a problem to implement and use, you know |
| 07-18-2006, 05:18 PM | #5 |
For the projectile, you could create a dummy unit and tell it to attack (make sure you set its damage to 0 - 0) |
| 07-18-2006, 07:01 PM | #6 |
seems easier to make a dummy unit cast modiffied acid bomb |
| 07-18-2006, 09:36 PM | #7 | |
Quote:
Well said. I've made an autocastable multiple shot like you did vexorian, only I based mine on dummy units casting acid bombs on nearby targets. Additionally you can also check the number of units in range, and if there are none, dont order it to autocast. That fixes up the max arrow speed limit you had on your autocastable multishot. Great function to check the angles there, helped me heaps. This idea can just be used the same for casting it while moving. |
