BIS fnc diagMissionPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic
____________________________________________________________________________________________


| Displays positions of units from all missions |Description=
|descr= Displays positions of units from all missions
____________________________________________________________________________________________


| [''configPath, allUnits, isCampaign''] call [[BIS_fnc_diagMissionPositions]] |Syntax=
|s1= [configPath, allUnits, isCampaign] call [[BIS_fnc_diagMissionPositions]]


|p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}}) |Parameter 1=
|p1= configPath: [[Config]] - (Optional, default <sqf inline>configFile >> "CfgMissions"</sqf>)


|p2= allUnits: [[Boolean]] - (Optional, default [[false]]) [[true]] to display all units, [[false]] to display only player positions |Parameter 2=
|p2= allUnits: [[Boolean]] - (Optional, default [[false]]) [[true]] to display all units, [[false]] to display only player positions


|p3= isCampaign: [[Boolean]] - (Optional, default [[false]]) [[true]] for the scan to perceive the main folder as campaign (required when ''configPath'' is direct path to campaign) |Parameter 3=
|p3= isCampaign: [[Boolean]] - (Optional, default [[false]]) [[true]] for the scan to perceive the main folder as campaign (required when ''configPath'' is direct path to campaign)


| [[Boolean]] - [[true]] when done |Return value=
|r1= [[Boolean]] - [[true]] when done
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgMissions", [[true]], [[false]]] [[call]] [[BIS_fnc_diagMissionPositions]];</code> |Example 1=
|x1= <sqf>[configFile >> "CfgMissions", true, false] call BIS_fnc_diagMissionPositions;</sqf>
____________________________________________________________________________________________


| [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] |See also=
|seealso= [[:Category:Function Group: Diagnostic|Diagnostic Function Group]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:diagMissionPositions}}]]
[[Category:Function Group: Diagnostic|{{uc:diagMissionPositions}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagMissionPositions}}]]

Latest revision as of 12:55, 13 July 2022

Hover & click on the images for description

Description

Description:
Displays positions of units from all missions
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[configPath, allUnits, isCampaign] call BIS_fnc_diagMissionPositions
Parameters:
configPath: Config - (Optional, default configFile >> "CfgMissions")
allUnits: Boolean - (Optional, default false) true to display all units, false to display only player positions
isCampaign: Boolean - (Optional, default false) true for the scan to perceive the main folder as campaign (required when configPath is direct path to campaign)
Return Value:
Boolean - true when done

Examples

Example 1:
[configFile >> "CfgMissions", true, false] call BIS_fnc_diagMissionPositions;

Additional Information

See also:
Diagnostic Function Group

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