- Joined
- May 20, 2009
- Messages
- 822
When using the function
How do I destroy a trigger that isn't DestroyTrigger(GetTriggeringTrigger())? I want a separate trigger to run, which after 30 seconds, will remove itself so it doesn't run anymore. But until that 30 seconds comes along, it needs to still be running.
So I figured I'd make a separate trigger that goes off after elapsed game time is 30 seconds, then remove the first trigger (Along with this one), but I don't know how to find the name of the trigger and thus the Custom Script gives me an error saying "Expected a Name"
JASS:
DestroyTrigger()
So I figured I'd make a separate trigger that goes off after elapsed game time is 30 seconds, then remove the first trigger (Along with this one), but I don't know how to find the name of the trigger and thus the Custom Script gives me an error saying "Expected a Name"