cameraEffect
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Switch to the given camera or object with the given effect. If you want to switch the screen directly to the first-person, aiming, third-person or group view of an object, use switchCamera instead.The effect type "Terminate" is used to exit the current camera view and switch back to the player's view.Needs the call of camCommit to be conducted.
Syntax
- Syntax:
- camera cameraEffect ["type", "Position"]
- Parameters:
- camera: Object - object of type "camera"
- type: String - the effect type. One of "Internal", "External", "Fixed", "FixedWithZoom" and "Terminate"
- position: String - position of the effect. One of "TOP", "LEFT", "RIGHT", "FRONT" and "BACK" ("BACK" is normally used)
- Return Value:
- Nothing
Examples
- Example 1:
_cam cameraEffect ["internal", "BACK"]
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- switchCamera

