| 08-06-2004, 03:57 PM | #1 |
Hi, Ive done a new spell in my map. The core idea of spell is right. But after the effects and etc. I need the caster dont move for 3 seconds and playin' Spell Channel animation... The problem is... I dont know how to make an unit still stand for a period of time. How i can do that ? Seeya |
| 08-06-2004, 04:14 PM | #2 |
jus go in to object editor and change the spell's casting time and choose an animation. :D |
| 08-06-2004, 05:48 PM | #3 |
Try using a trigger event-unit casts spell condition-spellcasting is (custom spell) action-pause (casting unit) -play (casting units casting animation) -wait 3 seconds -unpause unit i dunno if it works but its worth a try Good Luck! ![]() |
| 08-06-2004, 08:05 PM | #4 |
The "casting unit" event response can be lost during a wait command, if any other triggers run in the meantime. To remedy this, either use a local variable or, if it's possible, base the spell on a summon spell and then use the "summoning unit" event response (and the "unit spawns a summoned unit" event), because it's, unlike the "casting unit", thread specific, so any other triggers that may run during a wait action will have their own "summoning unit" event responses, while the original trigger will keep its. Apart from that, pausing the unit is the way to go. Of course, the spell will complete entirely even if the unit is stunned during those 3 secs or whatever. |
