| 01-11-2009, 09:09 AM | #2 |
You must create caster for every picked unit. Spell cast is not instant. |
| 01-11-2009, 01:01 PM | #3 |
It will be instant if you remove the ability 'Amov' and set the unit's turn speed to a very high rate (thanks Ammorth). As DioD said, dummy cast's aren't instant because turn rates aren't instant. |
| 01-11-2009, 06:04 PM | #4 |
Ok. So from what you are saying I would have to set thier turn rate to instant? So what would count as instant? 0 or 99999? Would that be the only thing I would have to do? As for removing Amov do I have to trigger that? The Dummy's movement type is hover. |
| 01-11-2009, 06:07 PM | #5 |
Edit: Okay I got it. Thanks guys. I might be posing a few other things for spells in the next few days. I used Zerzax's option because there will be a high potential amount of targets for spells like this in my map and the less dummies the better. |
| 01-11-2009, 06:10 PM | #6 |
Just the act of creating dummies doesn't really lag. If you have lots of targets I would actually create a dummy for each and everyone, simply to make the casting still instantaneous. I'll make up a trigger for you later if you want. |
| 01-11-2009, 06:15 PM | #7 |
But it's good practice to use the single method, and is considerably less expensive. I'm sorry I didn't read this in time, 99999 is max speed :P, as youve figured out. |
| 01-11-2009, 06:17 PM | #8 | |
Quote:
For those stats, I would use a dummy for each. But, meh both work. |
| 01-11-2009, 06:36 PM | #9 |
Store the single dummy unit as a global on init, then it will handle every single cast by itself. |
| 01-11-2009, 06:47 PM | #10 |
Actually I set thge units turn speed to 0.10 and it works.... the base was 0.60. |
| 01-11-2009, 09:46 PM | #11 |
You also need to use "Matching Unit" and not "Picked Unit". Replace the bolded "Picked Unit" with "Matching Unit". Unit Group - Pick every unit in (Units within 300.00 of TempPoint1 Matching (((Picked Unit) belongs to an enemy of (Owner of Triggering unit))) Equal to (==) True)) and do (Unit - Order (Last created unit) to Undead Banshee - Curse (Picked unit)) |
| 01-12-2009, 07:31 AM | #12 |
Better to start from: Trigger sleep action drop current trigger data, and casting unit after w8 will return null. |
| 03-08-2009, 05:09 AM | #13 |
Hmm, that's a good idea... Use a single dummy, instead of a dummy for each, and keep it in one line. That way, I can properly localize the variables. Schweet, didn't know that. Thanks. :P |
