diag setTerrainHeight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
m (branch) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2. | |||
|branch= diag | |||
|version1= 2.06 | |||
|descr= Changes the terrain height of the cell in which given position lies. This command is only available with [[Arma 3: Diagnostics Exe]].</br> | |descr= Changes the terrain height of the cell in which given position lies. This command is only available with [[Arma 3: Diagnostics Exe]].</br> |
Revision as of 13:51, 23 May 2021
Description
- Description:
- Changes the terrain height of the cell in which given position lies. This command is only available with Arma 3: Diagnostics Exe.
- Groups:
- Diagnostic
Syntax
- Syntax:
- position diag_setTerrainHeight height
- Parameters:
- position: Array - In format Position
- height: Number
- Return Value:
- Return value needed
Examples
- Example 1:
private _fnc_flattenTerrain = { params ["_start", "_a", "_b", "_h"]; for "_xStep" from 0 to _a do { for "_yStep" from 0 to _b do { _start vectorAdd [_xStep, _yStep, 0] diag_setTerrainHeight _h; }; }; }; [position player, 50, 50, 150] spawn _fnc_flattenTerrain;
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