BIS fnc diagMissionPositions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
| Displays positions of units from all missions | | Displays positions of units from all missions | ||
| [''configPath, allUnits, isCampaign''] call [[BIS_fnc_diagMissionPositions]] | | [''configPath, allUnits, isCampaign''] call [[BIS_fnc_diagMissionPositions]] | ||
|p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}}) | |p1= configPath: [[Config]] - (Optional, default {{Inline code|[[configFile]] >> "CfgMissions"}}) | ||
|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 | ||
|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 | | [[Boolean]] - [[true]] when done | ||
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgMissions", [[true]], [[false]]] [[call]] [[BIS_fnc_diagMissionPositions]];</code> | |x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgMissions", [[true]], [[false]]] [[call]] [[BIS_fnc_diagMissionPositions]];</code> | ||
| [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] | | [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] | ||
}} | }} | ||
Revision as of 23:03, 17 January 2021
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