BIS fnc moduleSector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
Line 47: Line 47:
|r1=
|r1=


|x1= <!-- <code>[] call [[BIS_fnc_moduleSector]];</code> -->
|x1= <!-- <sqf>[] call BIS_fnc_moduleSector;</sqf> -->


|seealso=
|seealso=
}}
}}

Latest revision as of 13:09, 5 May 2022

Hover & click on the images for description

Description

Description:
/*

	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
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Modules

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note