BIS fnc diagMissionPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Displays positions of units from all missions |Description=
____________________________________________________________________________________________


Description:
| [''configPath, allUnits, isCampaign''] call [[BIS_fnc_diagMissionPositions]] |Syntax=
Displays positions of units from all missions


Parameter(s):
|p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}}) |Parameter 1=
0: CONFIG - config path which will be scanned (default: configfile >> "CfgMissions")
1: (Optional): BOOL - when true, displays all units, otherwise just player positions (default: false)
2: (Optional): BOOL - when true, scan will perceive the main folder as campaign (required when param 0 is direct path to campaign)


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


#define ICON_SIZE 26
|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=
#define DELETE_CONFIG diag_mergeconfigfile ["O:\arma3\A3\Functions_F\Diagnostic\fn_diagMissionPositions_delete.cfg"];


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Boolean]] - [[true]] when done |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagMissionPositions]]; --> |= Syntax
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgMissions", [[true]], [[false]]] [[call]] [[BIS_fnc_diagMissionPositions]];</code> |Example 1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=
| [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] |See also=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}


Line 50: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:diagMissionPositions}}]]
[[Category:Function Group: Diagnostic|{{uc:diagMissionPositions}}]]
[[Category:Function Group: Diagnostic|{{uc:diagMissionPositions}}]]
[[Category:Functions|{{uc:diagMissionPositions}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagMissionPositions}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagMissionPositions}}]]

Revision as of 13:51, 6 June 2018

Hover & click on the images for description

Description

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

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

Notes

Bottom Section