| 04-21-2007, 10:18 PM | #1 |
I want to make a simple spell that does the opossite of "enchantment". That means it turns a target unit into "neutral". Make the new skill based off of "morph" and name it "neutralizer". (i dont think the base ability has nothing to do with it as long as it can be cast against other players, since i'll eventually remove their original effect). Trigger: (im using a non-english version of warcraft so i had to translate each tag). Ofcourse nothing happens. |
| 04-21-2007, 10:33 PM | #2 |
use: Trigger: Events![]() Unit - A unit Starts the effect of an abilityto use trigger tags right click on the trigger symbol (the white paper symbol) then click copy as text and paste it ...then add Code:
[trigger] and [/trigger] |
| 04-21-2007, 11:07 PM | #3 |
Ok now i have TFT but my version is old and.. for reasons unknown i can not update it. So i dont have the option "target unit of ability being cast". Lets say i just had ROC, how would i go about making this spell? If you can show me actually triggers examples, that would be great. |
| 04-22-2007, 07:41 AM | #4 |
i dunno ... perhaps the jass func works ...try it ... make a unit variable then Trigger: Custom Script - set udg_UNIT=GetSpellTargetUnit()you should REALLY get your tft updated ....try to reinstall it .. (achja ...ich bin auch deutsch :P...hier mal so geraten das dus auch bist -.-") |
| 04-22-2007, 07:51 AM | #5 |
It's because his trigger says attacked unit, while it needs to be the spell target unit. |
| 04-22-2007, 08:01 AM | #6 | |
Quote:
|
| 04-22-2007, 09:14 AM | #7 |
I seem to recall that the spell response functions were only added in a TFT patch (1.13 was it? or 1.14... I wasn't even modding at the time :o). So it's probably better to focus on your problem with WC3 and make your triggering life easier. You aren't using a no-cd crack are you? |
| 04-22-2007, 11:51 AM | #8 |
If I recall correctly, the spell trigger events were added the same time the event responses were.. So if you have "unit starts the effect of an ability" you have "target spell of ability being cast." At least, that's what I was under the impression of. |
| 04-22-2007, 08:02 PM | #9 |
No it's not there. I should just update and be over with it find someway of doing it. In the mean time i found a work around. I used polimorph as the base spell (with the duration reduced to 3 secs), that turns the target unit into an "effect cloud" dummy unit. A trigger then fires when the ability was cast, and changes ownership of all "effect cloud" dummy units to "neutral hostile player", trigger is then turned off. So the effect actual effect upon casting the spell is.. target unit will turn into a puff of smoke for 3 seconds, and come out of it be "neutral hostile". |
