| 03-26-2006, 09:02 AM | #1 |
Is it possible to force a unit to use an ability, such as when they press escape, it would use the skill? I can't seem to figure it out. If this is possible, is there any way to do it while the unit is paused? Thanks. |
| 03-26-2006, 09:12 AM | #2 |
Order Unit to Cast Warstomp? first order the spell, unpause the unit, wait some time, then pause it again |
| 03-26-2006, 09:18 AM | #3 |
How would I trigger this? Unit casts ability, (condition) ability = war stomp? Also, do I have to unpause the unit? Because if they move it messes up the game sort of t.t |
| 03-26-2006, 09:36 AM | #4 |
To stop them moving, you could ensnare them (no effect for the buff, and 0 duration). However, while casting they won't move, so you could repause after they cast. Yes, you have to unpause them to cast. Why would you need a condition? It starts when the player skips a cinematic (event), and then orders the unit to cast. Or am I mistaken in what you want? |
| 03-26-2006, 10:04 AM | #5 |
You can just use a dummy caster to cast the spell and keep the unit paused. |
| 03-26-2006, 04:12 PM | #6 |
Well, the skill I'm trying to use it for will ping on the minimap with the cinematic pings when you click where you want the ping. Since the units are paused most of the time, I need so that when they press escape it can force the unit to use the ability which allows you to use the pings. I suppose I can use the ensare idea, thanks for that. @Anitarf, that still doesn't help me because I don't know how to make a unit cast the ping ability when they hit escape. |
