getTerrainGrid: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 32: | Line 32: | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 04:24, 8 January 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