the_ideal
user title
- Reaction score
- 61
So I've used this custom script to destroy a trigger after it runs:
But I want one of my triggers to destroy another trigger when it runs, so I tried this:
Adding that line, however, caused my map to not allow me to play it. I think NewGen forced the editor not to give an error message. But when I clicked Test Map it just took me to the main Wc page. (the test button worked before this) When I tried to play the map by manually going Single Player -> Custom Games -> My map, it didn't allow me to play either.
Is that custom script correct? What should I change it to if it's not? ("mytrigger" is a trigger, not a trigger variable, if that matters.)
Thanks a lot! +rep to anything I use
Trigger:
- Custom script: call DestroyTrigger( GetTriggeringTrigger() )
But I want one of my triggers to destroy another trigger when it runs, so I tried this:
Trigger:
- Custom script: call DestroyTrigger( udg_mytrigger )
Adding that line, however, caused my map to not allow me to play it. I think NewGen forced the editor not to give an error message. But when I clicked Test Map it just took me to the main Wc page. (the test button worked before this) When I tried to play the map by manually going Single Player -> Custom Games -> My map, it didn't allow me to play either.
Is that custom script correct? What should I change it to if it's not? ("mytrigger" is a trigger, not a trigger variable, if that matters.)
Thanks a lot! +rep to anything I use