Hi, I've got what might be a simple question, but how exactly do I use the random function to randomly choose an object, so I can then create an explosion.
I've already got the line for triggering the explosion working:
bomb="R_M136_AT" createVehicle position EXP01;
(I've got a list of objects named EXP01 thru 23 as targets)
I just don't know what to put in a script to randomly choose an object out of a list and use that as the target. Is anyone able to help, please? I've tried a few things and I really dont know how to best use the random function to do it.