Description
Initialize a sector module. Can be also used to get sector parameters.
--- Get all sectors ---
Syntax
syntax inferred from the function header
[param0, param0, param0, param1, param0] call BIS_fnc_moduleSector
Parameters:
param0— 0: BOOLparam0— 0: SIDEparam0— 0: OBJECT - sector moduleparam1— 1: SIDEparam0— 0: OBJECT - sector module
Returns: ARRAY of OBJECTs
--- Get number of sectors held by a side --- NUMBER - number of sectors owned by the side
--- Set sector owner --- BOOL
--- Initialize --- NOTHING
Function header
The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.
/*
Description:
Initialize a sector module. Can be also used to get sector parameters.
--- Get all sectors ---
Parameter(s):
0: BOOL
Returns:
ARRAY of OBJECTs
--- Get number of sectors held by a side ---
Parameter(s):
0: SIDE
Returns:
NUMBER - number of sectors owned by the side
--- Set sector owner ---
Parameter(s):
0: OBJECT - sector module
1: SIDE
Returns:
BOOL
--- Initialize ---
Parameter(s):
0: OBJECT - sector module
Returns:
NOTHING
*/