set3DENGrid: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|p1= type: [[String]] - Name of transformation type. Can be: | |p1= type: [[String]] - Name of transformation type. Can be: | ||
* | * {{hl|"r"}} - Rotation | ||
* | * {{hl|"t"}} - Translation | ||
* | * {{hl|"s"}} - Scale | ||
|p2= value: [[Number]] - Transformation increment | |p2= value: [[Number]] - Transformation increment | ||
Line 19: | Line 19: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>set3DENGrid ["t",100]; // 100m movement increment</sqf> | ||
|seealso= [[get3DENGrid]] | |seealso= [[get3DENGrid]] | ||
}} | }} |
Revision as of 11:24, 13 May 2022
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