get3DENGrid: Difference between revisions
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 - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
| (2 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 | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>_currentIncrement = get3DENGrid "t";</sqf> | ||
|seealso= [[set3DENGrid]] | |seealso= [[set3DENGrid]] | ||
}} | }} | ||
Revision as of 10:23, 13 May 2022
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.
Only post proven facts here! Add Note