BIS fnc diagMissionPositions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|descr= Displays positions of units from all missions | |descr= Displays positions of units from all missions | ||
|s1= [ | |s1= [configPath, allUnits, isCampaign] call [[BIS_fnc_diagMissionPositions]] | ||
|p1= configPath: [[Config]] - (Optional, default | |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 18: | Line 18: | ||
|r1= [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done | ||
|x1= < | |x1= <sqf>[configFile >> "CfgMissions", true, false] call BIS_fnc_diagMissionPositions;</sqf> | ||
|seealso= [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] | |seealso= [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] | ||
}} | }} |
Latest revision as of 12:55, 13 July 2022
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:
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