getTerrainGrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|s1=" to " |s1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr2= Environment | |gr2= Environment | ||
| A getter for [[setTerrainGrid]], returns the current terrain grid. | |descr= A getter for [[setTerrainGrid]], returns the current terrain grid. | ||
|s1= '''getTerrainGrid''' | |s1= '''getTerrainGrid''' |
Revision as of 21:03, 13 June 2021
Description
- Description:
- A getter for setTerrainGrid, returns the current terrain grid.
- Groups:
- SystemEnvironment
Syntax
- Syntax:
- getTerrainGrid
- Return Value:
- Number - terrain grid value
Examples
- Example 1:
_terrainGrid = getTerrainGrid;
- Example 2:
if (getTerrainGrid < 50) then { hint "Grass is enabled"; };
Additional Information
- See also:
- setTerrainGridviewDistance
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