set3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" 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


| Sets the grid increment for the given transformation type.<br>
|descr= Sets the grid increment for the given transformation type.
Transformation types:
* Rotation - "r"
* Translation - "t"
* Scale - "s"


| '''set3DENGrid''' [type,value]
|s1=  '''set3DENGrid''' [type, value]
|p1= type: [[String]] - name of transformation
|p2= value: [[Number]] - transformation increment
| [[Nothing]]


|x1= <code>[[set3DENGrid]] ["t",100];// 100m movement increment</code>
|p1= type: [[String]] - Name of transformation. Can be:
* "r" - Rotation
* "t" - Translation
* "s" - Scale


|
|p2= value: [[Number]] - Transformation increment
[[get3DENMouseOver]]
 
[[add3DENConnection]]
|r1= [[Nothing]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
}}


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


{{GameCategory|arma3|New Scripting Commands}}
|seealso= [[get3DENGrid]] 
{{GameCategory|arma3|Scripting Commands}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 02:51, 27 March 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. 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