• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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:
Level 13
Joined
Oct 25, 2009
Messages
995
I think is like this: xD
  • Events
  • Unit - A unit enters Region 001 <gen>
  • Conditions
  • Actions
  • Trigger - Turn on Untitled Trigger 002 <gen>
  • Trigger - Turn off (This trigger)
Turn on must at the first,xD,my idea is this, xD,any problem please tell me,xD
 
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