HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Casting a spell via triggers

03-22-2004, 11:29 AM#1
johnfn
As the title implies, i need to know how to tell a unit to cast a spell with triggers. I've already looked through every trigger, and even some advanced ones, but i cant seem to find anything. My idea is that whenever a unit is issued an order targeting a point (i seem to be talking in triggers :o ) it will automaticly teleport (blink) there. I cant seem to figure out how to get it to do the teleport thing, though...


Thanks for just reading, if you have any idea please respond.
03-22-2004, 01:14 PM#2
AIAndy
Put in a condition in the trigger that it does not run for Blink and then as action issue the order to blink to that point. Best put in a distance check too so the trigger does not run when you are very near to the point already. Also if the unit does not have the Blink ability already, you need to add it first and remove it after its effect is finished.
03-22-2004, 05:06 PM#3
BattleBotv8.2
I'll show you my 'phase' skill, it's just auto-blink every 10 seconds. If you want to use it just give me full credit.
03-22-2004, 08:09 PM#4
johnfn
Quote:
Originally Posted by AIAndy
...and then as action issue the order to blink to that point.

Actually that was exactly what i was asking, how to make the trigger automaticly cast. Battlebot, your example was so redundant that it was almost funny. give credit to me. give credit to me. give credit to me. You only have to say it once! And i will give you credit.


thanks.
03-22-2004, 09:01 PM#5
BattleBotv8.2
lol, thought it would be funny that I put it so many times, guess it's annoying. I recently made that spell and am thinking of replacing the warden's normal blink with that on my favorite melee map.