Secondary Operations Manager – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 46: Line 46:


''Taken from the War Welcome Mission''
''Taken from the War Welcome Mission''
Note: For "leader speech", you can use multiple keywords to make a unique callsign, eg.
'''Example:'''
  this setVariable ["settings", [[], true, ["Romeo and Juliet is behind team blue not far from team red in Nadezhdino", ["Romeo", "and", "Juliet", "is", "behind", "blueTeam", "notFarFrom", "from", "redTeam", "in", "Nadezhdino"], "H.Q.", ["H.Q."]], 120, false]];


=== SecOp phasescripts ===
=== SecOp phasescripts ===

Revision as of 20:00, 9 October 2009


Note: this page is a work-in-progress! More info to follow as soon as possible.

Introduction

Secondary Operations (SecOps) may be likened to side quests in RPG games. They are simple missions that can take place anywhere in the gameworld. The Secondary Operations Manager (SOM) handles the starting of random SecOps and also manages Support Requests such as artillery.

Quickstart

A quick-start could be as such:

Add Sec-Op Manager Create a Radio Alpha trigger, name it BrokenArrow, whilst putting Broken Arrow in the text box.

In the "on act" field put: [["transport", "aerial_reconnaissance", "supply_drop", "tactical_airstrike", "artillery_barrage"], player] call BIS_SOM_addSupportRequestFunc;

This allow you to call support from Broken Arrow by simply pushing the 0 radio option.

Configuration

Functions

Request SecOp

Request a SecOp from the manager.

  [<secop | String>, <priority | Boolean>, <SOM reference | Object>] call BIS_SOM_requestSecOpFunc
  • secop: Name of the SecOp as String ("ambush", "attack_location", "trap", "rescue", "patrol", "escort", "defend_location", "destroy", "search"). See class names in CfgSecOps.
  • priority: True will start the SecOp at once, false will put it in a queue for later.
  • SOM reference: The reference to the manager.


Example:

Starts Ambush SecOp at once. BIS_SOM is module name.

  ["ambush", true, BIS_SOM] call BIS_SOM_requestSecOpFunc;

Advanced topics

New SecOps

SecOp parameters

SecOp does getVariable "settings" when it initializes. Values are: pool (default: ["ambush","attack_location","trap","rescue","patrol","escort","defend_location","destroy","search"]), HQ toggle (true), callsigns (leader of group, leader speech used, hq, hq speech: ["ALPHA", ["Alpha"], "H.Q.", ["HQ"]]), initialDelay (30), autoReinforce (true), secOpSpacing (30), randomActivation (0.7), and secOpDistances ([300, 700]).

Example:

  this setVariable ["settings", [[], true, ["Razor", ["Razor"], "H.Q.", ["H.Q."]], 120, false]];

Taken from the War Welcome Mission


Note: For "leader speech", you can use multiple keywords to make a unique callsign, eg.

Example:

  this setVariable ["settings", [[], true, ["Romeo and Juliet is behind team blue not far from team red in Nadezhdino", ["Romeo", "and", "Juliet", "is", "behind", "blueTeam", "notFarFrom", "from", "redTeam", "in", "Nadezhdino"], "H.Q.", ["H.Q."]], 120, false]];

SecOp phasescripts