cameraEffect
Revision as of 17:29, 31 August 2014 by Killzone Kid (talk | contribs) (rtt param, example, seealso)


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. Does not need camCommit.
Syntax
- Syntax:
- camera cameraEffect [name, position, rtt]
- Parameters:
- camera: Object - object of type "camera"
- [name, position]: Array
- name: 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)
- rtt: String - (optional) Render To Texture surface reference
- Return Value:
- Nothing
Examples
- Example 1:
_cam cameraEffect ["internal", "BACK"];
- Example 2:
_cam cameraEffect ["internal", "back", "rendersurface"];
Additional Information
- Multiplayer:
- -
- See also:
- switchCamerasetCameraEffectcameraViewcameraOnsetPiPEffect
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Commands utilizing local arguments
- Commands with local effects
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Camera Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters