| 01-03-2004, 06:14 PM | #1 |
I'm trying to get an ability to look like its autocast (having that crawling magical effect) without actually doing anything. I would also like the ability to be a no target ability. so that when the user clicks it it will run the triggers banking on it. Does anyone have any suggestions? |
| 01-03-2004, 06:21 PM | #2 |
well, i think all spells that have autocast have the things crawling around, but if you want the 4 gold things in corners i suggest using w3m utilitys or whatever its called, it has a button editor that makes it look perfect. but as for it working as an ability i think triggers check the order string that it uses, and one of the order strings for an auto-cast spell is (spell order string)on/off so for searing arrows i think its flamingarrowson so look for the instead. Edit: Oops just noticed you want it to just look like it, i guess make the spell autocast and if theres no target it won't go then order the unit to turn it on autocast right away. to turn flaming arrows on you would say order unit to use flamingarrows to turn it off order unit to use unflamingarrows look for the order string - turn off and order string - use/turn on to find your spells strings |
| 01-03-2004, 06:41 PM | #3 |
But does it consider you using flamingarrows when you just click the button I think it'll want to you to click a target |
| 01-03-2004, 06:48 PM | #4 |
The only non-targetting auto cast ability I can think of right now is Frenzy, the self-targetting bloodlust version. If you base your spell off that with a 0 duration and effect, it should work like a normal dummy spell, but with auto-cast. The problem might be that the unit with the ability would try to cast it when it started fighting. |
| 01-03-2004, 07:54 PM | #5 |
Alright thanks for your help but I found the best solution using the replenish (an unused autocast ability that was for the statue) setting its number of targets effected to zero and hp to heal to zero that way autocast never works. But I can still manually cast it. Now my problem is how do I keep the user from turning it off! |
| 01-03-2004, 08:06 PM | #6 |
THEIR COMPUTER BLOWS UP IF THEY TURN OFF!!! or, lol sorry bout that you could every .01 seconds turn it on :bgrun: man but this got me thinking, what if you could use .gifs or some funky blizzard equivelant to .gifs for icons. you could have a guy in there all yelling at you... ya |
| 01-03-2004, 10:42 PM | #7 |
Try this. I used raise dead as example (you could probably use it too if you just changed targets to "None".) But it should work with any autocast ability that has order IDs. Code:
Autocast refresh
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(raisedeadoff))
Actions
Wait 0.00 seconds
Unit - Order (Triggering unit) to Undead Necromancer - Activate Raise DeadI'm pretty sure that's what you need. It's not really a "fake" autocast... You still get the error message when you click the ability, but if you try to turn it off it immediately reactivates. (But no wait = no reactivation.) I also went into Game Interface and changed "There are no usable corpses nearby." to " " (SPACE, just making the entry blank would make it show "There are no usable corpses nearby." again) so it just played the error sound (which could also be muted but you probably know how to do that.) |
| 01-03-2004, 11:05 PM | #8 |
The wait 0.00 seconds is too short and the game seems to not change the order if you use such a short wait time. I use .01 and I use a modified replenish which heals no units, only targets the user, requires no hp lost, heals no damage and won't run period unless you manually click it. Replenish is an unused autocast spell that was on the statue orginally. I'm so happy that it works. I now have a cool little effect to show you that you have stat points to spend. |
| 01-04-2004, 12:25 AM | #9 | |
Quote:
That's weird, because I simple copied that code exactly from my own working trigger. Why do you think that is? I'm glad you got it to work, anyway. |
