nighteyes13 10 Posted October 30, 2014 Hi all, I'm trying to find out how to add options in to the radio / command menu at 0-9 (Custom). The end goal is so the squad leader in a Co-Op mission can call extraction and select the LZ like so 0 - 9 (Custom) - Call Extraction at LZ - LZ Alpha - LZ Bravo - LZ Charlie - etc - Other Options So far I have not been able to find how to add this by scripting. All I have found is adding a trigger in the editor with Radio Alpha etc Any help / code snippets / telling me what I should be googling for will be greatly appreciated. Thanks Share this post Link to post Share on other sites
dreadedentity 278 Posted October 30, 2014 _trg = createTrigger["EmptyDetector",getPos player]; _trg setTriggerActivation["ALPHA", "PRESENT",true]; _trg setTriggerActivation["BETA", "PRESENT",true]; _trg setTriggerActivation["CHARLIE","PRESENT",true]; _trg setTriggerActivation["DELTA", "PRESENT",true]; _trg setTriggerActivation["ECHO", "PRESENT",true]; _trg setTriggerActivation["FOXTROT","PRESENT",true]; _trg setTriggerActivation["GOLF", "PRESENT",true]; _trg setTriggerActivation["HOTEL", "PRESENT",true]; _trg setTriggerActivation["INDIA", "PRESENT",true]; _trg setTriggerActivation["JULIET", "PRESENT",true]; _trg setTriggerText "Your custom radio name here"; _trg setTriggerStatements["this", "hint 'Radio has been triggered'", ""]; Share this post Link to post Share on other sites
nighteyes13 10 Posted October 30, 2014 Thanks DreadedEntity that's a massive help. Share this post Link to post Share on other sites
iceman77 19 Posted October 31, 2014 (edited) You could also use the games built-in support transport module for a more "streamlined" approach. 1. Place a support requester module on the map at one of the airports 2. Place a helicopter transport support module [virtual] on the map next to the requester module 3. Sync the 2 modules together 4. Add one of the following codes to the init.sqf // add support permissions for all leaders if they are a player waitUntil { someCondition }; _modules = allMissionObjects "SupportRequester"; { if (isPlayer (leader _x)) then { (_modules select 0) synchronizeObjectsAdd [ leader _x ]; }; } forEach allGroups; OR // add the support module to only the leader of one group waitUntil { someCondition }; _modules = allMissionObjects "SupportRequester"; (_modules select 0) synchronizeObjectsAdd [ leader alpha ]; 5. Note the waitUntil { someCondition } line. Enter your own condition there. ie; when your objective is completed Edited October 31, 2014 by Iceman77 Share this post Link to post Share on other sites