setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 58: Line 58:
|p21= waypoint: [[Waypoint]]: [[Array]] |= Parameter 1
|p21= waypoint: [[Waypoint]]: [[Array]] |= Parameter 1


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


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


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


|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |= Return value

Revision as of 19:02, 25 January 2009

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

Description

Description:
Name defines 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:
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