| 12-31-2003, 03:59 AM | #1 |
I cannot seem to get this, or another spell that relies on that condition to work correctly. Can you perhaps tell my my error? You will see a deisplay of text at the end of the trigger. I added that on to make sure the trigger was firing. When I use the spell, the text does display telling me the trigger fires but nothing happens. Code:
Parasite
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Parasite (trigger spell)
(Unit-type of (Target unit of ability being cast)) Not equal to Farmer (main Character)
Actions
Unit - Replace (Target unit of ability being cast) with a Worthless Idiot using The new unit's max life and mana
Visibility - Create an initially Enabled visibility modifier for Player 12 (Brown) emitting Visibility from (Position of (Target unit of ability being cast)) to a radius of 512.00
Game - Display to (All players) the text: The spell worked |
| 12-31-2003, 07:14 AM | #2 |
Instead of "finishes casting an ability" try "beings to cast an ability". |
| 12-31-2003, 08:46 AM | #3 |
Good idea but I tried that and no luck still. Thanks though. |
| 12-31-2003, 03:34 PM | #4 |
It worked for me: Code:
Events: Unit - A unit Begins casting an ability Conditions: (Ability being cast) Equal to Breath of Fire (Unit-type of (Target unit of ability being cast)) Not equal to Pandaren Brewmaster Actions: Unit - Replace (Target unit of ability being cast) with a Flying Machine using The new unit's max life and mana Visibility - Create an initially Enabled visibility modifier for (Owner of (Casting unit)) emitting Visibility from (Position of (Target unit of ability being cast)) to a radius of 512.00 Game - Display to (All players) the text: It worked! Obviously, i just used the Brewmaster and Breath of fire to test |
| 12-31-2003, 03:38 PM | #5 |
The problem, Mink, is that you are referring to "Target of Ability Being Cast" after you replace the unit. At this point you need to change it to "Last replaced unit", because the original unit no longer exists. And you'll probably want to use "Starts the effect of an ability". |
| 01-01-2004, 12:47 AM | #6 |
Thank you very much for your help. I made the suggested changes and it works just fine now. :) |
| 01-01-2004, 12:59 AM | #7 |
I hate things like that...so small...yet so important. <fontcolor=000000> IM COOL </a> |
| 01-01-2004, 02:12 AM | #8 | |
Quote:
That kind of takes away you "coolness":ggani: |
| 01-01-2004, 02:29 AM | #9 |
lolz. THATS where that went. LOL> M bad. I was testing to see if Warcraft 3 Cmapagins had HTML coding enabled. LOL. |
