set3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 11: Line 11:


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


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

Revision as of 00:46, 16 November 2021

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