BIS fnc VRDrawGrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= VR | |gr1= VR | ||
| Visualizes surface grid (used primarily for VR missions).<br> | |descr= Visualizes surface grid (used primarily for VR missions).<br> | ||
{{Feature|Informative|Only one instance of grid visualisation can run at any given time. Calling this function multiple times will only move the grid center.}} | {{Feature|Informative|Only one instance of grid visualisation can run at any given time. Calling this function multiple times will only move the grid center.}} | ||
| [location'', colour''] call [[BIS_fnc_VRDrawGrid]] | |s1=[location'', colour''] call [[BIS_fnc_VRDrawGrid]] | ||
|p1= location: [[Position]] or [[Boolean]]: | |p1= location: [[Position]] or [[Boolean]]: | ||
Line 18: | Line 17: | ||
|p2= colour: [[Array]] - (Optional, default [0,0,0,1]) to format [<span style="color: red">R</span>,<span style="color: green">G</span>,<span style="color: blue">B</span>,<span style="color: grey">A</span>] | |p2= colour: [[Array]] - (Optional, default [0,0,0,1]) to format [<span style="color: red">R</span>,<span style="color: green">G</span>,<span style="color: blue">B</span>,<span style="color: grey">A</span>] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code><nowiki>[</nowiki>[[getPosATL]] [[player]], [0.078, 0.3647, 0.0]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> | |x1= <code><nowiki>[</nowiki>[[getPosATL]] [[player]], [0.078, 0.3647, 0.0]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> | ||
Line 24: | Line 23: | ||
|x2= <code><nowiki>[</nowiki>[[false]]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> | |x2= <code><nowiki>[</nowiki>[[false]]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> | ||
| [[BIS_fnc_VRDrawBorder]] | |seealso= [[BIS_fnc_VRDrawBorder]] | ||
}} | }} |
Revision as of 22:37, 13 June 2021
Description
Syntax
- Syntax:
- [location, colour] call BIS_fnc_VRDrawGrid
- Parameters:
- location: Position or Boolean:
- colour: Array - (Optional, default [0,0,0,1]) to format [R,G,B,A]
- Return Value:
- Nothing
Examples
- Example 1:
[getPosATL player, [0.078, 0.3647, 0.0]] call BIS_fnc_VRDrawGrid;
- Example 2:
[false] call BIS_fnc_VRDrawGrid;
Additional Information
- See also:
- BIS_fnc_VRDrawBorder
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