BIS fnc diagVehicleIcons: 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 | ||
|gr2= Broken Functions | |gr2= Broken Functions | ||
| Previews all vehicle icons on map. | | Previews all vehicle icons on map. | ||
{{Warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{Inline code|""}} instead of {{Inline code|[[true]]}} )}} | {{Warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{Inline code|""}} instead of {{Inline code|[[true]]}} )}} | ||
| [''parentClass, position, map''] call [[BIS_fnc_diagVehicleIcons]] | | [''parentClass, position, map''] call [[BIS_fnc_diagVehicleIcons]] | ||
|p1= parentClass: [[String]] - (Optional, default "all") | |p1= parentClass: [[String]] - (Optional, default "all") | ||
|p2= position: [[Position]] - (Optional, default [100,100]) position of the first icon on the ''map'', others will be layered on top of it | |p2= position: [[Position]] - (Optional, default [100,100]) position of the first icon on the ''map'', others will be layered on top of it | ||
|p3= map: [[Control]] - (Optional, default {{Inline code|[[findDisplay]] 12 [[displayCtrl]] 51}} a.k.a main map) | |p3= map: [[Control]] - (Optional, default {{Inline code|[[findDisplay]] 12 [[displayCtrl]] 51}} a.k.a main map) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>["all", [[getPos]] [[player]]] [[call]] [[BIS_fnc_diagVehicleIcons]];</code> | |x1= <code>["all", [[getPos]] [[player]]] [[call]] [[BIS_fnc_diagVehicleIcons]];</code> | ||
| [[:Category:Function Group: Diagnostic|Diag functions]] | | [[:Category:Function Group: Diagnostic|Diag functions]] | ||
}} | }} | ||
Revision as of 23:00, 17 January 2021
Description
- Description:
- Previews all vehicle icons on map.
- Execution:
- call
- Groups:
- DiagnosticBroken Functions
Syntax
- Syntax:
- [parentClass, position, map] call BIS_fnc_diagVehicleIcons
- Parameters:
- parentClass: String - (Optional, default "all")
- position: Position - (Optional, default [100,100]) position of the first icon on the map, others will be layered on top of it
- map: Control - (Optional, default
findDisplay 12 displayCtrl 51
a.k.a main map) - Return Value:
- Nothing
Examples
- Example 1:
["all", getPos player] call BIS_fnc_diagVehicleIcons;
Additional Information
- See also:
- Diag functions
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