Jump to content

Teck_

Member
  • Content Count

    17
  • Joined

  • Last visited

  • Medals

Posts posted by Teck_


  1. Hey,

     

    Our group would like to implement your mod into our modset.

     

    I see we can change the adv_aceCPR_probabilities = [40,15,5,85]; via the init.sqf.

     

    My question is can I modify your main file to different probabilities so we don't have to put the modified probabilities in the init every time?

     

    Thanks


  2. Hey, I'm trying to add items to multiple boxes around the map at the same time.

     

    I am trying to keep the items separated and stuff too

     

     

    So far I have this;

    Spoiler

    Init.sqf

    [] execVM "arsenal.sqf";

    Spoiler

    arsenal.sqf

     

    _box = [box1,box2,box3];

    [_box, false, false] call ace_arsenal_fnc_initBox;

     

    // Weapons

    [_box, ["arifle_MX_pointer_F"]] call ace_arsenal_fnc_addVirtualItems;

     

    //Items

    [_box, ["Chemlight_green"]] call ace_arsenal_fnc_addVirtualItems;

     

     

    and so on...

     

    I can't seem to get this working, any ideas?

    Is this even possible?

     


  3. How do you remove and/or hide the trigger makers until units enter the defense area?

     

    This guy seamed to figure it out but I can't get it to work.

     

     

    Original Post By Revo: HERE

    The simplest way would be to hide all markers and display they once the trigger has been activated.

    init.sqf
     


    If (isServer) then
    {
    {_x setMarkerAlpha 0} forEach allMapMarkers;
    };
    In the trigger which activates the defend module put:

    {_x setMarkerAlpha 1} forEach allMapMarkers;


    However, if you only want to hide those to markers, and not every marker you would need to do it as follows:

    init.sqf

    if (isServer) then
    {
    yourMarker = ["marker1","marker2"]; //all the marker you don't want to hide
    markerModules = allMapMarkers - yourMarker; //seperate the markers you want to hide from the ones you don't want to
    {_x setMarkerAlpha 0} forEach markerModules; //hide all unwanted markers
    };
    In the trigger which activates the defend module put:

    {_x setMarkerAlpha 1} forEach markerModules; //show all markers once the module has been activated

    I hope I could help you.

     


  4. I have tried both options and other commands to disable the trigger markers.

     

    Still can't get it to work, need some help please....even removing them entirely would be great!

     

     

    R3vo

    Posted 01 July 2015 - 22:00

    The simplest way would be to hide all markers and display they once the trigger has been activated.

    init.sqf

    If (isServer) then
    {
    {_x setMarkerAlpha 0} forEach allMapMarkers;
    };In the trigger which activates the defend module put:

    {_x setMarkerAlpha 1} forEach allMapMarkers;


    However, if you only want to hide those to markers, and not every marker you would need to do it as follows:

    init.sqf

    if (isServer) then
    {
    yourMarker = ["marker1","marker2"]; //all the marker you don't want to hide
    markerModules = allMapMarkers - yourMarker; //seperate the markers you want to hide from the ones you don't want to
    {_x setMarkerAlpha 0} forEach markerModules; //hide all unwanted markers
    };
    In the trigger which activates the defend module put:

    {_x setMarkerAlpha 1} forEach markerModules; //show all markers once the module has been activated

    I hope I could help you.

     

×