setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 40: Line 40:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


|p3= placement: [[String]]
|p3= name: [[String]] |= Parameter 3
 
|p4= position: [[String]] |= Parameter 4


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 52: Line 54:
____________________________________________________________________________________________
____________________________________________________________________________________________


|s2= [[Waypoint]] '''setCameraEffect''' [name, placement] |= Syntax
|s2= waypoint '''setCameraEffect''' [name, position] |= Syntax
 
|p21= waypoint: [[Waypoint]]: [[Array]] |= Parameter 1
 
|p2= [name, position]: [[Array]] |= Parameter 2


|p21= [[Waypoint]]: [[Array]] |= Parameter 1
|p3= name: [[String]] |= Parameter 3


|p22= name, position: as above
|p4= position: [[String]] |= Parameter 4


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

Revision as of 18:01, 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
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