setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''Description:'''
'''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".
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".





Revision as of 19:52, 4 July 2006


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