How do i tell the script to jump to another part of the script, say its called:
#cool
but it can only move there when ANY
bullet has landed in a radius of 5m around a man?
Basically, you would put this in your script:
@player distance (nearestobject [player, "bulletsinglew"]) <= 5
goto "cool"
That would wait until the closest "bulletsinglew" was within 5 meters of the player, then it would go to "cool". As MI_Fred said, though, it can be hard for the game to detect a bullet in time, because the bullets move so fast and the @ condition only checks every tenth of a second, if I'm not mistaken.
HOWEVER, you did say that you want it to wait until ANY bullet is close. That could easily be done with a function (check out my "nearestobject" function in the function library), but you said you don't have resistance. That being the case, your only hope would be to make a big loop like this:
#Loop
? player distance (nearestobject [player, "bulletsinglew"]) <= 5 : bullet_near = TRUE
? player distance (nearestobject [player, "bulletsinglee"]) <= 5 : bullet_near = TRUE
? player distance (nearestobject [player, "bulletburstw"]) <= 5 : bullet_near = TRUE
(and so on with each bullet type...)
? bullet_near == TRUE : goto "cool"
goto "Loop"
You'll run into the same problems with the game not always being fast enough to catch each bullet with this too, though. Try it out and see if it works.