| 03-14-2004, 12:41 PM | #1 |
Hey folks. I made a hero skill based off of Bloodlust. I made it target enemies only, and changed the values to negative so it makes units smaller, and decreases their walking/attack speeds. Now, manual casting works fine. But the hero just won't autocast it! Please help.. I don't know how to do this. When it's on autocast, the hero won't autocast it. I tried changing Order String - Activate, Deactivate, and Use/Turn Off to abilities like Slow, but then the hero wont autocast it either. :( |
| 03-14-2004, 12:46 PM | #2 |
Maby make a dummy autocast abillty and a trigger that creates a dummy caster the cast the real spell when the dummy spell is cast. |
| 03-14-2004, 12:52 PM | #3 | |
Quote:
I'm a dummy when it comes to dummy abilities. There should be a non-trigger way to do this, right? |
| 03-14-2004, 12:57 PM | #4 |
Maby it has something to do with the targets. Or because bloodlust was originaly ment to be cast on "good" units. |
| 03-14-2004, 01:01 PM | #5 | |
Quote:
o_O I was sofar myself, too. Yeah. It's originally meant to be cast on allied units. Targets are fine. Enemies, in range, attack caster. |
| 03-14-2004, 01:01 PM | #6 |
e: unit begins casting an ability c: ability is equal to bloodlust [two ways to do this] a: order (casting unit) to do (bloodlust) targeting unit (random unit within 400.00 of (casting unit)) or a: create a dummy unit at position of casting unit 100% 100% 100%, 100% transparency with expiration timer of 2, order last created unit to to do (bloodlust) targeting unit (random unit within 400.00 of (last created unit)) It isnt begins casting an ability, though... I don't remember which is autocast offhand. [edit] also, periodic event e: every X seconds c: booleanAutoCast = true a: order (casting unit) to do (bloodlust) targeting unit (random unit within 400.00 of (casting unit)) or a: create a dummy unit at position of casting unit 100% 100% 100%, 100% transparency with expiration timer of 2, order last created unit to to do (bloodlust) targeting unit (random unit within 400.00 of (last created unit)) |
| 03-14-2004, 01:12 PM | #7 | |
Quote:
This sounds like something I can do. But I don't see how I can set condition: booleanAuroCast = True Also, mustn't the action (casting unit) direct at the event (unit begins casting)? |
| 03-14-2004, 02:23 PM | #8 |
Well.. I can't seem to find that boolean thing. There's a boolean comparison in here but I don't think that is the thing I'm looking for. :( |
| 03-14-2004, 02:41 PM | #9 |
I tnink you can't check if a abillty is on autocast. You can do it with a varable. Therfor you can make u trigger that fires when the turn off/on order is given and let it set the boolean. And I think ThyFlame means by casting unit the unit you want to cast the spell. |
| 03-14-2004, 03:54 PM | #10 |
Yes, as I said the names for things I used is likely inaccurate, simply due to the lack of a proper autocast detection. Yes, you will have to use a variable to detect autocast. Something periodic, maybe. every x seconds if autocastYes == true then order [unit variable of caster] to do all the spell stuff, or dummy unit if you use that |
| 03-14-2004, 07:46 PM | #11 |
Awesome, this worked! Thanks guys. All mapmakers, I suggest you try to make this "Shrink" spell, too. It's a very cool effect, especially if you replace the bloodlust buffs with a custom buff that uses the blue Avatar of Vengeance missile attack instead of the red Bloodlust buff. Looks really neat. :D |
