BIS fnc diagVehicleIcons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Diagnostic |GROUP1=")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic


|gr1= Diagnostic |GROUP1=
|gr2= Broken Functions


|gr1= Broken Functions |GROUP1=
|descr= Previews all vehicle icons on map.
____________________________________________________________________________________________
{{Feature|warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{hl|""}} instead of {{hl|true}})}}


| Previews all vehicle icons on map.
|s1= [parentClass, position, map] call [[BIS_fnc_diagVehicleIcons]]
{{warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{Inline code|""}} instead of {{Inline code|[[true]]}} )}} |Description=
____________________________________________________________________________________________


| [''parentClass, position, map''] call [[BIS_fnc_diagVehicleIcons]] |Syntax=
|p1= parentClass: [[String]] - (Optional, default "all")


|p1= parentClass: [[String]] - (Optional, default "all") |Parameter 1=
|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 |Parameter 2=
|p3= map: [[Control]] - (Optional, default <sqf inline>findDisplay 12 displayCtrl 51</sqf> a.k.a main map)


|p3= map: [[Control]] - (Optional, default {{Inline code|[[findDisplay]] 12 [[displayCtrl]] 51}} a.k.a main map) |Parameter 3=
|r1= [[Nothing]]


| [[Nothing]] |Return value=
|x1= <sqf>["all", getPos player] call BIS_fnc_diagVehicleIcons;</sqf>
____________________________________________________________________________________________


|x1= <code>["all", [[getPos]] [[player]]] [[call]] [[BIS_fnc_diagVehicleIcons]];</code> |Example 1=
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
____________________________________________________________________________________________
 
| [[:Category:Function Group: Diagnostic|Diag functions]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:diagVehicleIcons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagVehicleIcons}}]]

Latest revision as of 01:25, 2 February 2024

Hover & click on the images for description

Description

Description:
Previews all vehicle icons on map.
This function is broken as it uses bad arguments for BIS_fnc_returnParents (line 35, "" instead of true)
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