BIS fnc diagVehicleIcons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling - missing see also)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| 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]]}}&nbsp;)}} |Description=
Description:
____________________________________________________________________________________________
Previews all vehicle icons on map


Parameter(s):
| [''parentClass, position, map''] call [[BIS_fnc_diagVehicleIcons]] |Syntax=
0: STRING (Optional) - Parent class of scanned vehicles (default "All")
1: ARRAY (Optional) - Position of the fist icon, others will be layered on top of it (default: [100,100], i.e. bottom left corner)
2: CONTROL (Optional) - Map on which markers are displayed (default value: main map)


Returns:
|p1= parentClass: [[String]] - (Optional, default "all") |Parameter 1=
BOOL
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagVehicleIcons]]; --> |= Syntax
|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=


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


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


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


| |= See also
| |See also=
 
}}
}}


Line 46: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:diagVehicleIcons}}]]
[[Category:Function Group: Diagnostic|{{uc:diagVehicleIcons}}]]
[[Category:Function Group: Diagnostic|{{uc:diagVehicleIcons}}]]
[[Category:Functions|{{uc:diagVehicleIcons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagVehicleIcons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagVehicleIcons}}]]
[[Category:Broken_Functions]]

Revision as of 19:27, 5 June 2018

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:
Uncategorised

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:
See also needed

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