[Trigger] Help making a temporary "charm" ability!

Status
Not open for further replies.

-NoQuarter-

N

-NoQuarter-

I'm VERY new when it comes to all this stuff, but after browsing around the forum a bit and tinkering with the trigger editor, I've gotten a decent feel for it. I can't for the life of me get this particular spell to work though. Any help would be VERY MUCH appreciated.

The spell is a new level 6 ability I based off of "Charm", the only difference is that it targets only heros. I named the ability "misdirected" for now. Here's what I have:

spelltriggeryu9.jpg
 
Well it would hellp alot if you tell us which part work and which dont.

Maybe you should split this into three triggers one for the var setting, timer and for the death case.

The Timer Event Trigger would Timer Whatever expires, the condition PossessED is alive = true, The Action as its is at the End

For the DeathCheck the Event A Unit dies, the condition Dying unit = PossessED and the action.

In Addition that those Triggers wont fire the whole map you can turn on/off the Triggers with first on, and at the end of the Time/Death Trigger Turn them off.

I can really post a Trigger, i dont have wc3 here. Hopefully those Tips helps you out, if not i ll give you the exact Trigger later on.
 
You do realize you're waiting for 1 second, and then later waiting for 9.5 seconds while you have a timer running with 10 seconds, right? Also, you're only transferring ownership if the unit is dead 1 second after casting. I think you should just put that wait until unit is dead instead of the if condition, and then have the possession part after it if that's what you had in mind.
 
You do realize you're waiting for 1 second, and then later waiting for 9.5 seconds while you have a timer running with 10 seconds, right? Also, you're only transferring ownership if the unit is dead 1 second after casting. I think you should just put that wait until unit is dead instead of the if condition, and then have the possession part after it if that's what you had in mind.

I set the timer like that because I was basing it off of a spell that somebody had posted in here. It doesn't make much sense to me like that either. As of right now, the triggers seem to have NO effect. The charm is still permenant.
 
Never mind, I figured it out. Here's the working version of the spell:

spelltriggersw9.jpg
 
Status
Not open for further replies.
Back
Top