Hello everyone, I;m sorry to just throw a big trigger in your face, but Ive been working on this problem for hours and Im completely stumped. In my map you can place bombs, and they are given an expiration timer of 3 secs. This is the trigger that fires when a bomb expires (and of course dies). It creates a blast to the north south east and west of where the bomb originally sat.
I have a coordinate system on my map. each bomb is placed on a coordinate. the way i numbered my grid is like this:
19 20 21 22 23 24 25 26 27
10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9
as you can see the numbering starts from the bottom left. This isnt my actual grid, its just a smaller representation (the real grid is 13 wide, 11 high).
So in my example grid, say a bomb was placed on the left side of the grid. It would be in either slot 1, 10, or 19. If it was on the top side, it would be 19, 20, 21, ... or 27. In my trigger, I have conditions set up so that if the bomb is on a certain spot, no blast goes off in that direction (because thats already at the edge). The way I reference what spot the bomb is in is I set the custom value of the bomb to the number spot its in. I use custom value because this is the 2nd trigger of my bomb system (the first one deals with setting the bomb) and each player can set many bombs, so using global variables I think its long tedious and inefficient.

Also I already used a local variable for the bomb..
So my problem in the trigger is even though I have conditions that will refuse to create explosions in a certain direction based on whether or not the bomb is on one of the border numbers of the grid, an explosion still goes off in that direction. Ive looked and stared at it many times and I dont see whats wrong in my trigger. I have debug messages and the debug correctly displays the grid number that the bomb is in. it even reads off the custom value
AFTER the conditional passes, and the custom value comes up as one of the numbers that should not have gone through!!
here is my trigger below... sorry for this all being so long, but I would greatly appreciate if anyone can help me figure out why the conditions are passing correctly.. like I said before the debug messages are displaying the correct number when I place a bomb on the border of the grid, but still there are explosions in all 4 directions.........