BIS fnc diagVehicleIcons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
Line 9: Line 9:


|descr= Previews all vehicle icons on map.
|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}})}}
{{Feature|warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{hl|""}} instead of {{hl|true}})}}


|s1= [parentClass, position, map] call [[BIS_fnc_diagVehicleIcons]]
|s1= [parentClass, position, map] call [[BIS_fnc_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