indeed. unfortunately you still can't add an action to the camcreated mine.
decide how many mines you're going to have and create a global variable minenum. in this example i've used 10. place empty markers where you want the mines to be and name the markers mk_mymine1 - mk_mymine10. camcreate the mines using something like this
minenum = 10
_i = 1
#loop
call format [{mymine%1 = "mine" camcreate getmarkerpos "mk_mymine%1"}, _i]
~0.1
_i = _i + 1
?not (_i>minenum):goto "loop"
that way you have 10 mines named mymine1 - mymine10 at the corresponding marker positions.
place the same number of radios on the map somewhere, name them mine_radio1 - mine_radio10. add the action to the radios. in the init file move all the radios to the x/y pos of the mines, but 1 metre underground
_i = 1
#loop2
call format [{mine_radio%1 setpos [getpos mymine%1 select 0, getpos mymine%1 select 1]}, _i]
_i = _i + 1
?not (_i>minenum):goto "loop2"
now when the action attached to a particular radio is activated, _this select 0 is the object the action was added to. it's then easy to find the corresponding mine
_whichradio = _this select 0
_i = 1
#loop3
_radiocheck = call format [{mine_radio%1},_i]
?_whichradio == _radiocheck : call format [{mymine%1 setpos [0,0,0]}, _i]
_i = _i + 1
?not (_i > minenum):goto "loop3"
exit
missionette to illustrate attached.
[attachment deleted by admin]