set3DENGrid: 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 ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|descr= Sets the grid increment for the given transformation type. | |descr= Sets the grid increment for the given transformation type. | ||
|s1= | |s1= [[set3DENGrid]] [type, value] | ||
|p1= type: [[String]] - | |p1= type: [[String]] - name of transformation type. Can be: | ||
* "r" - Rotation | * {{hl|"r"}} - Rotation | ||
* "t" - Translation | * {{hl|"t"}} - Translation | ||
* "s" - Scale | * {{hl|"s"}} - Scale | ||
|p2= value: [[Number]] - | |p2= value: [[Number]] - transformation increment | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>set3DENGrid ["t", 100]; // 100m movement increment</sqf> | ||
|seealso= [[get3DENGrid]] | |seealso= [[get3DENGrid]] | ||
}} | }} |
Latest revision as of 13:23, 12 March 2024
Description
- Description:
- Sets the grid increment for the given transformation type.
- Groups:
- Eden Editor
Syntax
- Syntax:
- set3DENGrid [type, value]
- Parameters:
- type: String - name of transformation type. Can be:
- "r" - Rotation
- "t" - Translation
- "s" - Scale
- value: Number - transformation increment
- Return Value:
- Nothing
Examples
- Example 1:
- set3DENGrid ["t", 100]; // 100m movement increment
Additional Information
- See also:
- get3DENGrid
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