BIS fnc diagMissionPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Diagnostic(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Some wiki formatting)
 
(17 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


|gr1= Diagnostic |GROUP1=
|descr= Displays positions of units from all missions
____________________________________________________________________________________________


| Displays positions of units from all missions |Description=
|s1= [configPath, allUnits, isCampaign] call [[BIS_fnc_diagMissionPositions]]
____________________________________________________________________________________________


| [''configPath, allUnits, isCampaign''] call [[BIS_fnc_diagMissionPositions]] |Syntax=
|p1= configPath: [[Config]] - (Optional, default <sqf inline>configFile >> "CfgMissions"</sqf>)


|p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}}) |Parameter 1=
|p2= allUnits: [[Boolean]] - (Optional, default [[false]]) [[true]] to display all units, [[false]] to display only player positions


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


|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=
|r1= [[Boolean]] - [[true]] when done


| [[Boolean]] - [[true]] when done |Return value=
|x1= <sqf>[configFile >> "CfgMissions", true, false] call BIS_fnc_diagMissionPositions;</sqf>
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgMissions", [[true]], [[false]]] [[call]] [[BIS_fnc_diagMissionPositions]];</code> |Example 1=
|seealso= [[:Category:Function Group: Diagnostic|Diagnostic Function Group]]
____________________________________________________________________________________________
 
| [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] |See also=
}}
}}
<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:{{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