Thanks guys,
It took me a little while to write a script for RKurtzDmitriyev's solution. (I've added the test mission to this post, with necessary script). Although, my script has one problem that I know of; If I place a charge within the trigger (holding the Soldier AddEventHandler ["fired",{_this exec "onfiring.sqs"}]
script) that is around my target building, thus activating the script, then "Say" accidentally place another charge and go to deactivate it, the building will collapse (because the charge closest to the player, which is now the second charge, is no more which triggers the setdammage script).
Could I stick a Distance script in there so that the charge has to be close enough to the building and any charges farther away wouldn't activate the script? (this won't really solve the problem)
Or
Could I stick something in my script telling it that after one charge is placed other charges won't activate it but touchingoff #1, #2 and #3 charge would still activate it because I'm touchingoff the first charge?
Or even better
Is there a way to make the script NOT activate by the Deactivation of a charge?
Yes dr. seltsam you are very right. I wish I had thought of that in the begging, but now I have a splinter in my brain and I have to get it out (if ya know what I mean).
Thanks guys for your help, keep up the good work.
GoldGazelle
Test Mission Below (no mods or addons needed)