BIS fnc VRDrawGrid: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: VR(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= VR |GROUP1= | |gr1= VR |GROUP1= | ||
| Visualizes surface grid (used primarily for VR missions).<br> | | Visualizes surface grid (used primarily for VR missions).<br> | ||
{{Informative|Only one instance of grid visualisation can run at any given time. Calling this function multiple times will only move the grid center.}} |Description= | {{Informative|Only one instance of grid visualisation can run at any given time. Calling this function multiple times will only move the grid center.}} |Description= | ||
| [location'', colour''] call [[BIS_fnc_VRDrawGrid]] |Syntax= | | [location'', colour''] call [[BIS_fnc_VRDrawGrid]] |Syntax= | ||
Line 22: | Line 19: | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= | ||
|x1= <code><nowiki>[</nowiki>[[getPosATL]] [[player]], [0.078, 0.3647, 0.0]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> |Example 1= | |x1= <code><nowiki>[</nowiki>[[getPosATL]] [[player]], [0.078, 0.3647, 0.0]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> |Example 1= | ||
|x2= <code><nowiki>[</nowiki>[[false]]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> |Example 2= | |x2= <code><nowiki>[</nowiki>[[false]]] [[call]] [[BIS_fnc_VRDrawGrid]];</code> |Example 2= | ||
| [[BIS_fnc_VRDrawBorder]] |See also= | | [[BIS_fnc_VRDrawBorder]] |See also= |
Revision as of 22:41, 16 January 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