BIS fnc diagVehicleIcons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|descr= Previews all vehicle icons on map. | |descr= Previews all vehicle icons on map. | ||
{{Feature| | {{Feature|warning|This function is broken as it uses bad arguments for [[BIS_fnc_returnParents]] ('''line 35''', {{hl|""}} instead of {{hl|true}})}} | ||
|s1=[ | |s1= [parentClass, position, map] call [[BIS_fnc_diagVehicleIcons]] | ||
|p1= parentClass: [[String]] - (Optional, default "all") | |p1= parentClass: [[String]] - (Optional, default "all") | ||
Line 17: | Line 17: | ||
|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 | |p3= map: [[Control]] - (Optional, default <sqf inline>findDisplay 12 displayCtrl 51</sqf> a.k.a main map) | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["all", getPos player] call BIS_fnc_diagVehicleIcons;</sqf> | ||
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]] | |seealso= [[:Category:Function Group: Diagnostic|Diag functions]] | ||
}} | }} |
Latest revision as of 00:25, 2 February 2024
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:
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