setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(not in A3)
m (template:command argument fix)
Line 39: Line 39:
*"FRONT TOP",
*"FRONT TOP",
*"BACK TOP"
*"BACK TOP"
*"BOTTOM". |= Description
*"BOTTOM". |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| trigger '''setCameraEffect''' [name, position] |= Syntax
| trigger '''setCameraEffect''' [name, position] |SYNTAX=


|p1= trigger: [[Object]] |= Parameter 1
|p1= trigger: [[Object]] |PARAMETER1=


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


|p3= name: [[String]] |= Parameter 3
|p3= name: [[String]] |PARAMETER3=


|p4= position: [[String]] |= Parameter 4
|p4= position: [[String]] |PARAMETER4=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________


|s2= waypoint '''setCameraEffect''' [name, position] |= Syntax
|s2= waypoint '''setCameraEffect''' [name, position] |SYNTAX=


|p21= waypoint: [[Waypoint]]: [[Array]] |= Parameter 1
|p21= waypoint: [[Waypoint]]: [[Array]] |PARAMETER1=


|p22= [name, position]: [[Array]] |= Parameter 2
|p22= [name, position]: [[Array]] |PARAMETER2=


|p23= name: [[String]] |= Parameter 3
|p23= name: [[String]] |PARAMETER3=


|p24= position: [[String]] |= Parameter 4
|p24= position: [[String]] |PARAMETER4=


|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>trigger setCameraEffect ["ZoomIn", "FRONT"]</pre> |= Example 1
|x1= <pre>trigger setCameraEffect ["ZoomIn", "FRONT"]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[cameraEffect]] |= See also
| [[cameraEffect]] |SEEALSO=


}}
}}

Revision as of 15:46, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Arma 3
This command is not available in Arma 3

Name efines the effect type (a subclass of CfgCameraEffects.Array):

  • "TERMINATE",
  • "INTERNAL",
  • "ZOOMIN",
  • "ZOOMINSLOW",
  • "AROUND",
  • "AROUNDSLOW",
  • "ZOOMANDAROUND",
  • "AROUNDANDZOOMINSLOW",
  • "ZOOMINS",
  • "FIXED",
  • "FIXEDWITHZOOM",
  • "EXTERNAL"
  • "$TERMINATE$" to cancel the current effect.

Placement is camera placement:

  • "TOP",
  • "LEFT",
  • "RIGHT",
  • "FRONT",
  • "BACK",
  • "LEFT FRONT",
  • "RIGHT FRONT",
  • "LEFT BACK",
  • "RIGHT BACK",
  • "LEFT TOP",
  • "RIGHT TOP",
  • "FRONT TOP",
  • "BACK TOP"
  • "BOTTOM".
Groups:
Uncategorised

Syntax

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

Alternative Syntax

Syntax:
waypoint setCameraEffect [name, position]
Parameters:
waypoint: Waypoint: Array
[name, position]: Array
name: String
position: String
Return Value:
Nothing

Examples

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

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

Notes

Bottom Section