Posted: Fri May 16, 2003 7:47 pm
First take out the end after:
thread bomb1_exploded $panel_bomb // try it this way
thread bomb2_exploded $stand_bomb // both here and below
end // remove this line
"end" makes the script stop there, so your bomb thinkers are not being turned on. Also, I think the above lines should come after the bomb thinker lines. The bomb thinker knows what your bombs are named because of this:
$panel_bomb thread global/obj_dm.scr::bomb_thinker
But, it makes an array of the bombs and uses numbers. So, it knows $panel_bomb is $bomb1. Study the "obj_team" scripts and look for lines similar to what you have "while (local.bomb1.exploded != 1)".
thread bomb1_exploded $panel_bomb // try it this way
thread bomb2_exploded $stand_bomb // both here and below
end // remove this line
"end" makes the script stop there, so your bomb thinkers are not being turned on. Also, I think the above lines should come after the bomb thinker lines. The bomb thinker knows what your bombs are named because of this:
$panel_bomb thread global/obj_dm.scr::bomb_thinker
But, it makes an array of the bombs and uses numbers. So, it knows $panel_bomb is $bomb1. Study the "obj_team" scripts and look for lines similar to what you have "while (local.bomb1.exploded != 1)".