• 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.

Why doesn't this work?

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
Why doesn't this work? Simple triggers.

  • Untitled Trigger 001
    • Events
      • Unit - A unit enters Region 001 <gen>
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Untitled Trigger 002 <gen>
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Special Effect - Create a special effect at (Center of Region 001 <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Untitled Trigger 002 is initially off.
 
Last edited:
Why not to use something like:
base.gif
Untitled Trigger 001
joinminus.gif
events.gif
Events
line.gif
joinbottom.gif
unit.gif
Unit - A unit enters Region 001 <gen>
join.gif
cond.gif
Conditions
joinbottomminus.gif
actions.gif
Actions
empty.gif
join.gif
page.gif
Trigger - Turn off (This trigger)
empty.gif
join.gif
page.gif
Wait 5.00 seconds
empty.gif
joinbottom.gif
ani.gif
Special Effect - Create a special effect at (Center of Region 001 <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl

Btw trigger above leaks!
You need to destroy created special effect and location/point (Center of Region 001 <gen>)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Why not to use something like:
base.gif
Untitled Trigger 001
joinminus.gif
events.gif
Events
line.gif
joinbottom.gif
unit.gif
Unit - A unit enters Region 001 <gen>
join.gif
cond.gif
Conditions
joinbottomminus.gif
actions.gif
Actions
empty.gif
join.gif
page.gif
Trigger - Turn off (This trigger)
empty.gif
join.gif
page.gif
Wait 5.00 seconds
empty.gif
joinbottom.gif
ani.gif
Special Effect - Create a special effect at (Center of Region 001 <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl

Btw trigger above leaks!
You need to destroy created special effect and location/point (Center of Region 001 <gen>)

You don't have to worry about leaks
The way I see it, this trigger is meant for one-shot only, correct ?
So the leak is at minimum, it doesn't effect the rest of the game
So, you can use this trigger
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
GangSpear said:
Turn on must at the first,xD,my idea is this, xD,any problem please tell me,xD

No, that's not it. See the text below the Trigger turn off action:

''Does not interrupt existing executions of the trigger, but prevents future executions.''

defskull said:
You don't have to worry about leaks
The way I see it, this trigger is meant for one-shot only, correct ?

Yeah, it's one-shot. And it was just a test. I'm not actually going to create a thunderclap effect. It's just the first effect that comes up when you use the ''Create Special Effect at Point'' action.

But you're right, -Kobas-. I can just put it all together in one trigger.
 
Status
Not open for further replies.
Top