setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETCAMERAEFFECT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETCAMERAEFFECT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETCAMERAEFFECT]]


| ofpr |= Game name


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


| 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". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger or waypoint '''setCameraEffect''' [name, position] |= Syntax


'''trigger or waypoint:''' [[Object]] or [[Array]]
|p1= trigger or waypoint: [[Object]] |= Parameter 1


'''[name, position]:''' [[Array]]
|p2= [name, position]: [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setCameraEffect ["ZoomIn", "FRONT"]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


'''Description:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETCAMERAEFFECT]]
'''Name''' defines the effect type (a subclass of CfgCameraEffects.Array) or "$TERMINATE$" to cancel the current effect.
[[Category:Scripting Commands OFP Elite |SETCAMERAEFFECT]]
 
[[Category:Scripting Commands ArmA|SETCAMERAEFFECT]]
'''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"]

Revision as of 23:06, 1 August 2006

Hover & click on the images for description

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".
Groups:
Uncategorised

Syntax

Syntax:
trigger or waypoint setCameraEffect [name, position]
Parameters:
trigger or waypoint: Object
[name, position]: Array
Return Value:
Nothing

Examples

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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section