Command Intel on General Map

  1. 8 years ago

    I don't want use a C2ISTAR module, but information from "Command Action -> Intel" important for player in my mission. How can I show all Military placements on General Map (on 'M' key)? Also, I need setup triggers on all Military placements. For example, if Military placement is "ocupated" by OPF_F, I want respawn vehicle in this area of this side, respawn vehical of OPF_F side. If MP ocupated by BLU_F, need vehicle respawn of BLU_F. How can I do that?

  2. I did it..

    _logic = [MYMP, 0, objNull, [objNull]] call BIS_fnc_param;
    qwe = [_logic, "objectives", nil] call ALiVE_fnc_MP;
    {
        diag_log format ["##ZZ## %1 %2", [_x, "center"] call ALIVE_fnc_hashGet, [_x, "size"] call ALIVE_fnc_hashGet]
    } foreach qwe;
  3. You can also get OPCOM-specific objective arrays like so

    // Get objectives for NATO opcom
    {
        if ("BLU_F" in ([_x,"factions"] call ALiVE_fnc_hashGet)) then {
            _objectives = [_x,"objectives",[]] call ALiVE_fnc_hashGet;
        }:
    } foreach OPCOM_instances;
  4. thx u!
    I write script for remake markers (every 60 seconds) on top of opcom objectives. All fine! But..

    I have two factions:

    { if ("BLU_G_F" in ([_x,"factions"] call ALiVE_fnc_hashGet)) then {}; } foreach OPCOM_instances;
    { if ("OPF_F" in ([_x,"factions"] call ALiVE_fnc_hashGet)) then {}; } foreach OPCOM_instances;

    I have opcom states :

    opcom_state_ = [_x, "opcom_state"] call ALiVE_fnc_hashGet;
    if ("attack" != opcom_state_ && 
    	"attacking" != opcom_state_ && 
    	"defend" != opcom_state_ && 
    	"defending" != opcom_state_ && 
    	"reserve" != opcom_state_ && 
    	"reserving" != opcom_state_ && 
    	"idle" != opcom_state_ && 
    	"unassigned" != opcom_state_) then { diag_log format["Unknown opcom_state: %1", opcom_state_]; }

    I have tacom states:

    tacom_state_ = [_x, "tacom_state"] call ALiVE_fnc_hashGet;
    if ("recon" != tacom_state_ && 
    	"capture" != tacom_state_ && 
    	"defend" != tacom_state_ && 
    	"reserve" != tacom_state_) then { diag_log format["Unknown tacom_state: %1", tacom_state_];	}

    On one objectives it's was different states for each factions.

    And I want just 4 state on my map: BLU_F, OPF_F, BLU_F && OPF_F (active battle) and not BLU_F && not OPF_F (empty or CIV objective).

    How can I do that? What meen each state of opcom/tacom?

 

or Sign Up to reply!