cameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CAMERAEFFECT]]
[[Category:Scripting Commands|CAMERAEFFECT]]
[[Category:Scripting Commands OFP 1.97|CAMERAEFFECT]]
[[Category:Scripting Commands OFP 1.96|CADETMODE]]
[[Category:Scripting Commands OFP 1.46|CAMERAEFFECT]]
[[Category:Scripting Commands OFP 1.46|CAMERAEFFECT]]
[[Category:Scripting Commands ArmA|CAMERAEFFECT]]
[[Category:Scripting Commands ArmA|CAMERAEFFECT]]

Revision as of 19:53, 1 June 2006


camera cameraEffect effect


Operand types:

camera: Object

effect: Array

Type of returned value:

Nothing

Description:

Switch camera to given vehicle camera.

Format of effect is [name, position].

Name is one of:

  • "Internal"
  • "External"
  • "Fixed"
  • "Fixed With Zoom"

Position is one of:

  • "TOP"
  • "LEFT"
  • "RIGHT"
  • "FRONT"
  • "BACK" ("BACK" is normally used)


Example:

_camera cameraEffect ["External", "Back"]