set3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (template:command argument fix)
Line 16: Line 16:


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


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


Line 53: Line 53:
[[set3DENLinesVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
[[set3DENObjectType]]
|= SEEALSO
|SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets the grid increment for the given transformation type.
Transformation types:
  • Rotation - "r"
  • Translation - "t"
  • Scale - "s"
Groups:
Uncategorised

Syntax

Syntax:
set3DENGrid [type,value]
Parameters:
type: String - name of transformation
value: Number - transformation increment
Return Value:
Nothing

Examples

Example 1:
set3DENGrid ["t",100];// 100m movement increment

Additional Information

See also:
get3DENMouseOver add3DENConnection 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

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

Notes


Bottom Section