set3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|s1= [[set3DENGrid]] [type, value]
|s1= [[set3DENGrid]] [type, value]


|p1= type: [[String]] - Name of transformation type. Can be:
|p1= type: [[String]] - name of transformation type. Can be:
* {{hl|"r"}} - Rotation
* {{hl|"r"}} - Rotation
* {{hl|"t"}} - Translation
* {{hl|"t"}} - Translation
* {{hl|"s"}} - Scale  
* {{hl|"s"}} - Scale


|p2= value: [[Number]] - Transformation increment
|p2= value: [[Number]] - transformation increment


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>set3DENGrid ["t",100]; // 100m movement increment</code>
|x1= <sqf>set3DENGrid ["t", 100]; // 100m movement increment</sqf>


|seealso= [[get3DENGrid]]  
|seealso= [[get3DENGrid]]
}}
}}

Latest revision as of 14:23, 12 March 2024

Hover & click on the images for description

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