move3DENCamera: Difference between revisions

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


| '''move3DENCamera''' [position,useOffset] |= Syntax
| '''move3DENCamera''' [position,useOffset] |= Syntax
|p1= position: [[Position]]  |= PARAMETER1
|p1= position: [[Position]]  |PARAMETER1=
|p2= useOffset: [[Boolean]] - true if camera should use offset (defined in [[configFile]] >> "Cfg3DEN" >> "Camera" >> "moveOffset") |= PARAMETER2
|p2= useOffset: [[Boolean]] - true if camera should use offset (defined in [[configFile]] >> "Cfg3DEN" >> "Camera" >> "moveOffset") |PARAMETER2=


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  


|x1= <code>[[move3DENCamera]] [ [[getPos]] [[player]],true];</code>|= EXAMPLE1
|x1= <code>[[move3DENCamera]] [ [[getPos]] [[player]],true];</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 50: Line 50:
[[set3DENLinesVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
[[set3DENObjectType]]
|= SEEALSO
|SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:35, 7 April 2019

Hover & click on the images for description

Description

Description:
Moves Eden Editor camera to given position, with or without offset.
Default camera offset: [0,-25,25]
Groups:
Uncategorised

Syntax

Syntax:
move3DENCamera [position,useOffset]
Parameters:
position: Position
useOffset: Boolean - true if camera should use offset (defined in configFile >> "Cfg3DEN" >> "Camera" >> "moveOffset")
Return Value:
Nothing

Examples

Example 1:
move3DENCamera [ getPos player,true];

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 remove3DENConnection remove3DENEventHandler removeAll3DENEventHandlers set3DENAttributes set3DENGrid 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