camSetPos
- Local argument
- Local effect
- Arma 3 v0.50
- First in Operation Flashpoint v1.00
Command · Markdown · JSON · original wiki page
Description
Sets the position of the given camera or seagull (see camCreate). It is worth mentioning that camera position can also be set with setPos, in which case it would be instant. With camSetPos it is possible to make smooth position transition in time, defined with camCommit, which is required in this case.
Syntax
camera camSetPos position
Parameters:
camera: Object - object of type "camera" or "seagull"position: PositionAGL - camera destination
Returns: Nothing
Examples
Example 1
_cam camSetPos [2300, 1000, 130];
_cam camCommit 10;