This is the Setup trigger for the real trigger, Storing the value, for "Gate-1", the real/intiger value 1 is to mark that, and also set the life of the gate.
Here is the trigger which to open the gate, the only problem is that the "Set GateLife..." in the previous trigger and using it in this is having trouble, the gate gets full hp instead of geting the GateLife[1] value.