setCameraEffect

From Bohemia Interactive Community
Revision as of 20:52, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


trigger or waypoint setCameraEffect [name, position]


Operand types:

trigger or waypoint: Object or Array

[name, position]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Name defines the effect type (a subclass of CfgCameraEffects.Array) or "$TERMINATE$" to cancel the current effect.

Position is camera placement: "TOP", "LEFT", "RIGHT", "FRONT", "BACK", "LEFT FRONT", "RIGHT FRONT", "LEFT BACK", "RIGHT BACK", "LEFT TOP", "RIGHT TOP", "FRONT TOP", "BACK TOP" or "BOTTOM".


Example:

trigger setCameraEffect ["ZoomIn", "FRONT"]