BIS fnc VRDrawGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 8: Line 8:


| 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.}}
{{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]]
| [location'', colour''] call [[BIS_fnc_VRDrawGrid]]

Revision as of 00:00, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
VR

Syntax

Syntax:
Syntax needed
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:
Return value needed

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