get3DENGrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [[get3DENGrid]] type | |s1= [[get3DENGrid]] type | ||
|p1= type: [[String]] - | |p1= type: [[String]] - name of transformation type. Can be: | ||
* | * {{hl|"r"}} - Rotation | ||
* | * {{hl|"t"}} - Translation | ||
* | * {{hl|"s"}} - Scale | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>_currentIncrement = get3DENGrid "t";</sqf> | ||
|seealso= [[set3DENGrid]] | |seealso= [[set3DENGrid]] | ||
}} | }} |
Latest revision as of 15:39, 8 November 2023
Description
- Description:
- Returns the grid increment for the given transformation type.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENGrid type
- Parameters:
- type: String - name of transformation type. Can be:
- "r" - Rotation
- "t" - Translation
- "s" - Scale
- Return Value:
- Number
Examples
- Example 1:
Additional Information
- See also:
- set3DENGrid
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