• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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

Status
Not open for further replies.
Level 2
Joined
Mar 23, 2007
Messages
10
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
 
Level 6
Joined
Feb 2, 2005
Messages
205
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.
 
Level 11
Joined
Oct 13, 2005
Messages
233
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.
 
Level 2
Joined
Mar 23, 2007
Messages
10
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.
 
Status
Not open for further replies.
Top