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

Preserve Trigger (Loop Trigger)

Status
Not open for further replies.
Level 3
Joined
Nov 1, 2012
Messages
27
How do I make a trigger be preserved (this term is used in stacraft broodwar map editing, wich Im used to) or not (loop).
 
Level 3
Joined
Nov 1, 2012
Messages
27
The trigger being repeated. How do i make it not repeat.

As far as i've seen on my tests, all trigers seems to repeat (loop). I want to make a trigger (Example: A Text displayed when a unit enters a region) work just 1 time, and when the unit enters again on the region it does not work anymore.
 
Level 18
Joined
May 11, 2012
Messages
2,103
lol, just use ''Turn off (This Trigger)'' after all the actions :)
Or, if you don't need the trigger anymore, you can destroy it by using custom script at the end of the trigger:
  • Custom script - call DestroyTrigger(GetTriggeringTrigger())
my my, I passed 1.000 posts :D
 
Status
Not open for further replies.
Top