a) would be something like this:
Code:
void onMain() {
for (int i = 1; i < jjObjectMax: ++i) {
jjOBJ@ obj = jjObjects[i];
if (obj.behavior == BEHAVIOR::RFBULLET && obj.state == STATE::EXPLODE && !jjPlayers[obj.creatorID].isLocal) //RF missiles, like most/all bullets, switch to STATE::EXPLODE in one gametick and actually run their explosion code in the next, so you have a chance to find them.
obj.delete(); //Or whatever. Changing its behavior to EXPLOSION or EXPLOSION2 might be good for showing its .killAnim animation, but the point is you don't want it to run its own death code and create a shockwave
}
}
b) I'm not sure I understand. "spawnpoint"? "free route"?
__________________
|