cameraEffect

From Bohemia Interactive Community
Revision as of 17:58, 22 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


back to COMREF

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