Goto http://www.stucuk.netGoto http://www.atlanticaonlinewiki.comGoto http://www.game-requirements.com

McSSetStrategy

From Original War Support Wiki

Jump to: navigation, search

SAIL Functions/M -> McSSetStrategy

SAIL Functions/MacrosRelated -> McSSetStrategy

Description

Sets main strategy list for McSkirmish macro.

Usage

McSSetStrategy(mcsid:integer, list:plist);

mcsid - id of a running McSkirmish macro.
list - list of commands for COM's strategy. For example:

[ [mcs_Build, b_depot, 1],
  [mcs_Build, b_lab, 1],
  [mcs_Build, b_oil_mine, 1],
  [mcs_Tech, tech_SibDet],
  [mcs_Build, b_siberite_mine, 1],
  [mcs_Tech, tech_OilPow],
  [mcs_Build, b_armoury,1],
  [mcs_Upgrade, b_lab_weapon, 1] ];

Number is the number of a building's position, defined in McSSetPosList function.

Example

The code below sets a main strategy list (defined in "main_strategy" variable) for a running McSkirmish macro.

McSSetStrategy(mcsid, main_strategy);
Personal tools
Clanbase
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Cannot contact the database server: MySQL functions missing, have you compiled PHP with the --with-mysql option? )


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.