Page 93 of 93 FirstFirst ... 43838990919293
Results 921 to 923 of 923

  Click here to go to the first Developer post in this thread.  

Thread: A.C.R.E - Advanced Combat Radio Environment - 1.4 Stable - Release Thread

  1. #921
    I use to call the following function to get an array of radios the unit (_u) has:

    Code:
    private ["_u","_ret"];
    
    _u = _this select 0;
    _ret = [];
    
    {
    	if (getText(configFile >> "CfgWeapons" >> _x >> "simulation") == "ItemRadio") then {_ret = _ret + [_x];};
    } forEach weapons _u;
    
    _ret
    You can then cycle through the returned array and remove the radio(s) using the 'removeWeapon' command.

    There used to be a function quite like this in ACRE, but it is/was broken, that's why I used my own ever since.

    Cheers,
    D.

    Follow our developer blog: http://hellinthepacific.blogspot.com/

  2. #922
    Use this to get the uniq name of the radio, then delete it as usual

    acre_api_fnc_getCurrentRadioList
    Parameters: None
    Example: _ret = [] call acre_api_fnc_getCurrentRadioList;
    Return Value: Array
    Description: Returns the array of current unique radio ID's that are on the local player.

    http://tracker.idi-systems.com/proje..._Names_and_API


  3. #923
    Force ACRE Plugin

    How do you force the ACRE TeamSpeak3 Plugin to be running on your server? (how do you make your server detect and force ACRE)
    And how do you automate switching channels once entering a game?
    Saw this on military-gaming.org but they do not publish their programm


    Regards

Page 93 of 93 FirstFirst ... 43838990919293

Similar Threads

  1. A.C.R.E - Advanced Combat Radio Environment - 1.3 Stable - Release Thread
    By NouberNou in forum ARMA 2 & OA - ADDONS & MODS: COMPLETE
    Replies: 856
    Last Post: Apr 30 2012, 20:57
  2. A.C.R.E - Advanced Combat Radio Environment - 1.2 Stable (TS3 pre) - Release Thread
    By jaynus in forum ARMA 2 & OA - ADDONS & MODS: COMPLETE
    Replies: 280
    Last Post: Jul 3 2011, 20:22
  3. A.C.R.E - Advanced Combat Radio Environment - 1.1 Stable - Release Thread
    By jaynus in forum ARMA 2 & OA - ADDONS & MODS: COMPLETE
    Replies: 380
    Last Post: Apr 14 2011, 20:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •