So you can do this by combining two techniques:
~Use attachTo to attach the detonator to the table ~Use a trigger that copies your player's position to the clipboard and paste that into the table's init
1) Name your table and name your detonator, let's say table1 and deto1
2) Use attachTo to place the detonator securely on the table (won't jump), you'll need to play with the numbers in the array to get it exact, but you really only need to mess with the last number in the array, which controls the z-axis (height off the ground) of the object being attached. You can also add the setDir command to adjust the rotation of the detonator.
An example would be: deto1 attachTo [table1,[0,0,0.5]];
3) This is still one of the most useful techniques I know of, one I've used since the very early days of editing. If you don't have one, you should start a .txt doc on your desktop with your Go-To Scripts, so you always have something like this close at hand. Here's how to create a trigger for getting positions and placing units in buildings, etc. Start by creating a trigger in the editor:
- Activation: Radio Alpha (or whatever Radio you want)
- Set to Repeating
- I usually set the A and B axis to 0 since it doesn't involve physical space.
- Put either of these in the On Act field (the first one copies both position and direction, the second is position-only):
copyToClipboard format ["this setPosATL %1; this setDir %2;", getPosATL player, getDir player];
copyToClipboard format ["this setPosATL %1;", getPosATL player];
Basically, this is telling the editor: whenever you call Radio Alpha, copy the player's position pre-formatted for pasting into a unit's init field.
4) So when the trigger is made, hop into the game (make sure your player has a radio-- most BLUFOR have one, most Taki militia except Warlords do not), move to wherever you want the table to go, fire your trigger (0-0-1 for example), then exit the preview.
5) Open the table in the editor and simply press Ctrl+V to paste the clipboard into the init field.
6) Preview again and you should see your table placed with the laptop attached to it.
-----------------------------------------
As for your BB-Mercs question, that pack contains more of a Middle Eastern Army-- think Libyan or Syrian government troops, they are definitely not very insurgent-looking.