get3DENGrid: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|1.56 | |version1= 1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Returns the grid increment for the given transformation type. | |descr= Returns the grid increment for the given transformation type. | ||
| '''get3DENGrid''' type | |s1= '''get3DENGrid''' type | ||
| | |p1= type: [[String]] - Name of transformation type. Can be: | ||
* <tt>"r"</tt> - Rotation | |||
* <tt>"t"</tt> - Translation | |||
* <tt>"s"</tt> - Scale | |||
| | |r1= [[Number]] | ||
[[ | |||
|x1= <code>_currentIncrement = [[get3DENGrid]] "t";</code> | |||
[[ | |||
|seealso= [[set3DENGrid]] | |||
[[set3DENGrid | |||
}} | }} |
Revision as of 12:26, 18 May 2021
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:
_currentIncrement = get3DENGrid "t";
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