setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETCAMERAEFFECT]]
[[Category:Scripting Commands ArmA|SETCAMERAEFFECT]]


<new command not populated>


<h2 style="color:#000066">'''''trigger or waypoint'' setCameraEffect ''[name, position]'''''</h2>


<h2 style="color:#000066">''''' setCameraEffect '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''trigger or waypoint:''' [[Object]] or [[Array]]
 
'''[name, position]:''' [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''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".


'''Example:'''
'''Example:'''
trigger '''setCameraEffect''' ["ZoomIn", "FRONT"]

Revision as of 00:26, 3 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"]