BIS fnc diagMissionPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Some wiki formatting)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Diagnostic
|gr1= Diagnostic


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


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


|p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}})
|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
|p2= allUnits: [[Boolean]] - (Optional, default [[false]]) [[true]] to display all units, [[false]] to display only player positions
Line 17: Line 16:
|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)


| [[Boolean]] - [[true]] when done
|r1= [[Boolean]] - [[true]] when done


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


| [[:Category:Function Group: Diagnostic|Diagnostic Function Group]]
|seealso= [[:Category:Function Group: Diagnostic|Diagnostic Function Group]]
}}
}}

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