| 02-14-2004, 03:06 AM | #1 |
I have read "Automatic weapon firing while moving?" and must ask if this can be done as an "ability" of sorts. What I need is an upgrade that lets a certain air unit Strafe whenever I order it to attack-move; instead of auto-acquiring and proceeding after everyone's dead -- once upgraded, it'll simply spray any enemies in its way as it proceeds to the target. Does Phoenix Fire work toward this, or do I make an upgrade that grants the unit my modified variant of Phoenix Fire ...? |
| 02-14-2004, 03:09 AM | #2 |
yes, i strongly believe that pheonix fire does what you want, but the unit attacked by 'pheonix fire' wont be attack again until the fire buff is over. so i recommend you to set the demage it will deals per attack and set the duration as the attack cooldown. |
| 02-14-2004, 03:11 AM | #3 |
Please elaborate, SirSalute? |
| 02-14-2004, 03:45 AM | #4 |
you can do this by pheonix fire Data - Demage Per Second: 0 Data - Initial Demage : the demage you want for the unit to deals the stats - Duration - Hero : 0 the stats - Duration - Hero : 0 add this ability in the object manager, or if you want it to strafe only if you clicked on a skill you can use trigger to add the ability to it, while moving to the point of ability being cast. then another trigger to remove the ability once different order is given. (for ex, unit will ordered move, then given the fire ability, now when it reaches the point you want it to end, it will be order a stop ability, and therefore fire ability will be remove, if you click else-where, it'll also be issue a different order.) there is sometime you can abuse, because you can keep giving it move order, unless you want it like tat, you can add a wait action to the first trigger than remove the fire ability) Is the explaination clear enough? or am I misinterpreteing anything? Good luck. |
| 02-14-2004, 04:48 AM | #5 |
I'm sorry, but I'm still not understanding. In testing without triggers, I gave the unit a modified Phoenix Fire with 0.5 cooldown & no damage(s), since the unit does a base 7-9 damage; this had no effect in-game, and the unit auto-acquired. I was too confused by your elaboration to give the unit this trigger, since I can't tell which trigger fields I'm supposed to select. (ie it needs to be any instance of that unit, not just one placed on the map.) Edit: For the record, it should be as part of the unit's normal attack, not as merely an "aftereffect" of Phoenix Fire, unaffected by unit damage upgrades. |
| 02-14-2004, 07:47 AM | #6 |
You can't do it as part of the units attack, as he was trying to explain. Thats impossible. You can create the "illusion" of it being the units attack. Change the units targets allowed to, say, invulnerable (so it wont hit anything), set phoenix fire to do the same amount of damage as the unit and to use the units missile art. Then, have a trigger where whenever the player finishes an upgrade to his regular guns damage, you have phoenix fire either gain a level (if its hero ability) or get replaced by another phoenix fire, readjusting to the units new damage. Finally, have the ability be invisible, as in no tooltip or icon, etc. This way, the unit will appear to be attacking while on the move, and will do the proper amount of damage. Only problem, I think, is the attack animation wont play. BUT, perhaps you could run another trigger saying every time the ability was used, the users attack animation played. |
| 02-15-2004, 11:30 PM | #7 |
I'll give this a shot :) By the one, another question: What if I pick Locust as the ability, instead of Phoenix Fire? |
| 02-15-2004, 11:42 PM | #8 |
locust ability aka aloc it will make the unit untargetable, not show on the minimap, and unselectable... |
| 02-16-2004, 04:26 AM | #9 |
Huh?? How's that come about? |
| 02-16-2004, 05:39 AM | #10 |
The locust SPELL of the crypt lord, is actually summoning 20 units that encircle around the hero. The aloc(locust ability) of the summoned unit locust, makes it unselectable and invulnerable. So when the locust SPELL creates the insect, no one can select nor demage it. You can give your unit aloc and pheonix fire, so it will strafe with noone being able to interrupt its attacks. |
