BIS fnc moduleSector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Multiplayer(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Modules |GROUP1=
|gr1= Modules |GROUP1=
____________________________________________________________________________________________


| <pre>/*
| <pre>/*
Line 45: Line 43:


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_moduleSector]]; --> |SYNTAX=
| <!-- [] call [[BIS_fnc_moduleSector]]; --> |SYNTAX=
Line 52: Line 49:


| |RETURNVALUE=
| |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|x1= <code></code> |EXAMPLE1=
____________________________________________________________________________________________


| |SEEALSO=
| |SEEALSO=

Revision as of 23:28, 16 January 2021

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

Example 1:

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

Notes

Bottom Section