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

McSSetPosList

From Original War Support Wiki

Jump to: navigation, search

SAIL Functions/M -> McSSetPosList

SAIL Functions/MacrosRelated -> McSSetPosList

Description

Sets building position list for McSkirmish macro.

Usage

McSSetPosList(mcsid:integer, list:plist)

mcsid - id of a running McSkirmish macro.
list - list of buildings' positions. For example:

[ [mcs_depot_pos, [x, y, d]],
 [mcs_armoury_pos, [x, y, d], [x, y, d]],
 [mcs_fact_pos, [x, y, d]],
 [mcs_lab_pos, [x, y, d]],
 [mcs_power_pos, [x, y, d], [x, y, d], [x, y, d]],
 [mcs_defend_pos, [x, y, d]],
 [mcs_ext_pos, [x, y, d], [x, y, d], [x, y, d], [x, y, d], [x, y, d]],
 [mcs_oilmine_pos, [x, y, d]],
 [mcs_sibmine_pos, [x, y, d]],
 [mcs_teleport_pos],
 [mcs_tower_pos, [x, y, d]],
 [mcs_behemoth_pos] ];

x - building's x-coordinate,
y - building's y-coordinate,
d - building's direction (0-5).

Example

The code below sets a building position list (stored in "buildings" variable) for a running McSkirmish macro:

McSSetPosList(mcsid, buildings);
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.

(Can't 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.