setCameraEffect: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma1 | |game1= arma1 | ||
|1.00 | |version1= 1.00 | ||
| | |game2= arma2 | ||
|version2= 1.00 | |||
| | |game3= arma2oa | ||
|version3= 1.51 | |||
|gr1= Camera Control | |||
|descr= {{Feature|arma3|This command is not available in Arma 3.}} | |||
''' | '''Name''' defines the effect type (a subclass of CfgCameraEffects.Array) and '''Position''' the effect's relative position. | ||
*"TOP" | {{{!}} class="wikitable" | ||
*"LEFT" | ! Name | ||
*"RIGHT" | ! Placement | ||
*"FRONT" | {{!}}- | ||
*"BACK" | {{!}} style="vertical-align: top" {{!}} | ||
*"LEFT FRONT" | <div style="columns: 2"> | ||
*"RIGHT FRONT" | * "TERMINATE" | ||
*"LEFT BACK" | * "INTERNAL" | ||
*"RIGHT BACK" | * "ZOOMIN" | ||
*"LEFT TOP" | * "ZOOMINSLOW" | ||
*"RIGHT TOP" | * "AROUND" | ||
*"FRONT TOP" | * "AROUNDSLOW" | ||
*"BACK TOP" | * "ZOOMANDAROUND" | ||
*"BOTTOM" | * "AROUNDANDZOOMINSLOW" | ||
* "ZOOMINS" | |||
* "FIXED" | |||
* "FIXEDWITHZOOM" | |||
* "EXTERNAL" | |||
* "$TERMINATE$" | |||
</div> | |||
{{!}} style="vertical-align: top" {{!}} | |||
<div style="columns: 3"> | |||
* "TOP" | |||
* "LEFT" | |||
* "RIGHT" | |||
* "FRONT" | |||
* "BACK" | |||
* "LEFT FRONT" | |||
* "RIGHT FRONT" | |||
* "LEFT BACK" | |||
* "RIGHT BACK" | |||
* "LEFT TOP" | |||
* "RIGHT TOP" | |||
* "FRONT TOP" | |||
* "BACK TOP" | |||
* "BOTTOM" | |||
</div> | |||
{{!}}} | |||
| | |s1= triggerOrWaypoint [[setCameraEffect]] [name, position] | ||
|p1= | |p1= triggerOrWaypoint: [[Object]] or [[Array]] format [[Waypoint]] | ||
|p2= [name, position]: [[Array]] | |p2= [name, position]: [[Array]] | ||
Line 51: | Line 65: | ||
|p4= position: [[String]] | |p4= position: [[String]] | ||
| | |r1= [[Nothing]] | ||
|x1= <code> | |x1= <code>myTrigger [[setCameraEffect]] ["ZoomIn", "FRONT"];</code> | ||
|x2= <code>_waypoint1 [[setCameraEffect]] ["FIXED", "RIGHT TOP"];</code> | |||
|seealso= [[cameraEffect]] | |seealso= [[cameraEffect]] | ||
}} | }} | ||
{{GameCategory|ofpe|Scripting Commands}} | {{GameCategory|ofpe|Scripting Commands}} | ||
Revision as of 14:14, 15 March 2021
Description
- Description:
Name defines the effect type (a subclass of CfgCameraEffects.Array) and Position the effect's relative position.
Name Placement - "TERMINATE"
- "INTERNAL"
- "ZOOMIN"
- "ZOOMINSLOW"
- "AROUND"
- "AROUNDSLOW"
- "ZOOMANDAROUND"
- "AROUNDANDZOOMINSLOW"
- "ZOOMINS"
- "FIXED"
- "FIXEDWITHZOOM"
- "EXTERNAL"
- "$TERMINATE$"
- "TOP"
- "LEFT"
- "RIGHT"
- "FRONT"
- "BACK"
- "LEFT FRONT"
- "RIGHT FRONT"
- "LEFT BACK"
- "RIGHT BACK"
- "LEFT TOP"
- "RIGHT TOP"
- "FRONT TOP"
- "BACK TOP"
- "BOTTOM"
- Groups:
- Camera Control
Syntax
- Syntax:
- triggerOrWaypoint setCameraEffect [name, position]
- Parameters:
- triggerOrWaypoint: Object or Array format Waypoint
- [name, position]: Array
- name: String
- position: String
- Return Value:
- Nothing
Examples
- Example 1:
myTrigger setCameraEffect ["ZoomIn", "FRONT"];
- Example 2:
_waypoint1 setCameraEffect ["FIXED", "RIGHT TOP"];
Additional Information
- See also:
- cameraEffect
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