BIS fnc diagVehicleIcons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{ ?warning" to "{{Warning")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr2= Broken Functions |GROUP2=
|gr2= Broken Functions |GROUP2=
____________________________________________________________________________________________


| 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]]}} )}} |Description=
{{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=
| [''parentClass, position, map''] call [[BIS_fnc_diagVehicleIcons]] |Syntax=
Line 24: Line 21:


| [[Nothing]] |Return value=
| [[Nothing]] |Return value=
____________________________________________________________________________________________


|x1= <code>["all", [[getPos]] [[player]]] [[call]] [[BIS_fnc_diagVehicleIcons]];</code> |Example 1=
|x1= <code>["all", [[getPos]] [[player]]] [[call]] [[BIS_fnc_diagVehicleIcons]];</code> |Example 1=
____________________________________________________________________________________________


| [[:Category:Function Group: Diagnostic|Diag functions]] |See also=
| [[:Category:Function Group: Diagnostic|Diag functions]] |See also=

Revision as of 23:05, 16 January 2021

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

Notes

Bottom Section