cameraEffect

From Bohemia Interactive Community
Revision as of 20:53, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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"]