BIS_fnc_VRDrawGrid

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Visualizes surface grid (used primarily for VR missions).
Only one instance of grid visualisation can run at any given time. Calling this function multiple times will only move the grid center.

Syntax

Syntax:
[location, colour] call BIS_fnc_VRDrawGrid
Parameters:
location: Position or Boolean:
  • Position: center position (should be multiple of 4 in both axis to correspond with the tiles on the ground, like [1000,1000] or [2400,2400])
  • Boolean: use false to disable grid visualisation
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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_VRDrawBorder

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section