Hey guys.
I'm making a map with gates. The commands for the gates are simply "-open main" and "-close main", using that as an example. However I want it so that when a gate is destroyed, the trigger for "-open main" and "-close main" are removed. So I make a trigger that makes it so when "main gate" dies, the triggers "-open main" and "-close main" are removed. Here's the problem:
I start up the map and I type "-open main" and the main gate opens like it's supposed to. Yet when I type "-close main" nothing happens. So I disable the trigger that removes the "-open main" and "-close main" triggers when the main gate dies. I start up the map again and type "-open main" and it opens and "-close main" and it closes, working perfectly.
Anyone know how to fix my problem? I want it so that when a gate is destroyed, players cannot do "-open main" or "-close main" so that the gate is back alive, yet when I make a trigger for that, I cannot close the gates.
I'm making a map with gates. The commands for the gates are simply "-open main" and "-close main", using that as an example. However I want it so that when a gate is destroyed, the trigger for "-open main" and "-close main" are removed. So I make a trigger that makes it so when "main gate" dies, the triggers "-open main" and "-close main" are removed. Here's the problem:
I start up the map and I type "-open main" and the main gate opens like it's supposed to. Yet when I type "-close main" nothing happens. So I disable the trigger that removes the "-open main" and "-close main" triggers when the main gate dies. I start up the map again and type "-open main" and it opens and "-close main" and it closes, working perfectly.
Anyone know how to fix my problem? I want it so that when a gate is destroyed, players cannot do "-open main" or "-close main" so that the gate is back alive, yet when I make a trigger for that, I cannot close the gates.