camCommand: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Camera Control |GROUP1= | |gr1= Camera Control |GROUP1= | ||
| Executes a command on the given ''camera / actor'' object. Known commands for: | | Executes a command on the given ''camera / actor'' object. Known commands for: | ||
Line 38: | Line 36: | ||
{{Informative | The [[camCommand]] effect is immediate and does not need [[camCommit]]/[[camCommitPrepared]].}} |DESCRIPTION= | {{Informative | The [[camCommand]] effect is immediate and does not need [[camCommit]]/[[camCommitPrepared]].}} |DESCRIPTION= | ||
| camera [[camCommand]] command |SYNTAX= | | camera [[camCommand]] command |SYNTAX= | ||
Line 47: | Line 44: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_camera [[camCommand]] "manual on";</code> |EXAMPLE1= | |x1= <code>_camera [[camCommand]] "manual on";</code> |EXAMPLE1= | ||
Line 60: | Line 56: | ||
_camera [[camCommand]] "surfaceSpeed off"; | _camera [[camCommand]] "surfaceSpeed off"; | ||
</code> |EXAMPLE2= | </code> |EXAMPLE2= | ||
| [[cameraEffect]], [[camCreate]], [[camCommit]] |SEEALSO= | | [[cameraEffect]], [[camCreate]], [[camCommit]] |SEEALSO= |
Revision as of 00:32, 17 January 2021
Description
- Description:
- Executes a command on the given camera / actor object. Known commands for:
All cameras "Camera" "Seagull" "CamCurator" - "manual on"
- "manual off"
- "inertia on"
- "inertia off"
- "landed" lands the seagull
- "airborne" makes the seagull fly
- "maxPitch (x)" (number, in degrees)
- "minPitch (x)" (number, in degrees)
- "speedDefault (x)" (number)
- "speedMax (x)" (number)
- "ceilingHeight (x)" (number, in meters)
- "atl (x)" (on/off)
- "surfaceSpeed (x)" (on/off)
- Groups:
- Camera Control
Syntax
- Syntax:
- camera camCommand command
- Parameters:
- camera: Object - see camCreate
- command: String - see description
- Return Value:
- Nothing
Examples
- Example 1:
_camera camCommand "manual on";
- Example 2:
private _camera = "CamCurator" camCreate [0,0,0]; _camera camCommand "maxPitch 89"; _camera camCommand "minPitch -89"; _camera camCommand "speedDefault 0.1"; _camera camCommand "speedMax 2"; _camera camCommand "ceilingHeight 5000"; _camera camCommand "atl off"; _camera camCommand "surfaceSpeed off";
Additional Information
- See also:
- cameraEffectcamCreatecamCommit
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Camera Control
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands