setCameraEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
| '''Name''' defines the effect type (a subclass of CfgCameraEffects.Array):
| '''Name''' defines the effect type (a subclass of CfgCameraEffects.Array):


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


Or "$TERMINATE$" to cancel the current effect.
'''Placement''' is camera placement:


'''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
*"TOP",
*"LEFT",
*"RIGHT",  
*"FRONT",
*"BACK",  
*"LEFT FRONT",  
*"RIGHT FRONT",
*"LEFT BACK",
*"RIGHT BACK",
*"LEFT TOP",
*"RIGHT TOP",
*"FRONT TOP",
*"BACK TOP"
*"BOTTOM". |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


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


|p21= waypoint: [[Array]] (format [[Waypoint]]) |= Parameter 1
|p21= [[Waypoint]]: [[Arry]] |= Parameter 1


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


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

Revision as of 04:58, 30 August 2007

-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, placement]
Parameters:
trigger: Object
name: String
placement: String
Return Value:
Nothing

Alternative Syntax

Syntax:
Waypoint setCameraEffect [name, placement]
Parameters:
Waypoint: Arry
name, position: as above
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