greetings,
here is my very limited 2 cents...
in MP dedicated server scripting...
if you want all to see the radio, this should be in the description.ext
showRadio=1;
and; or;
if you call it from a script, the init.sq? should say:
_trgobjA = createTrigger ["EmptyDetector", position player ];
_trgobjA setTriggerText "name you want to see in the menu";
_trgobjA setTriggerActivation ["ALPHA", "PRESENT", true];
_trgobjA setTriggerStatements ["this", "squad = [a] exec ""zulu\scripts\order66.sqs""",""];
"zulu\scripts\order66.sqs" is replaced by what your script calls for.
if you use .sqf it should be:
"squad = [a] execVM ""zulu\scripts\order66.sqf""",""
and; or; if it is needed after each spawn and if it is attached to a 'weapon':
// mando keep action
// attach the radio script and keep it after respawn
[] spawn
{
private["_acidx1", "_acidx2", "_unit", "_veh"];
_acidx1 = -1;
_acidx2 = -1;
while {true} do
{
waitUntil {("Laserdesignator" in weapons player) && (alive player)};
_acidx1 = player addAction ["Console: your radio alpha name", "your script.sq?"];
while {("Laserdesignator" in weapons player) && (alive player)} do
{
_unit = player;
if (vehicle _unit != _unit) then
{
_veh = vehicle _unit;
_acidx2 = vehicle _unit addAction ["Console: your action name", "your script.sq?"];
waitUntil {(vehicle _unit == _unit) || (!alive _unit)};
_veh removeAction _acidx2;
};
Sleep 1;
};
_unit removeAction _acidx1;
};
};
/// end mando keep action
hope it helps