camCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 101741 by SilentSpike_bi_wiki on 2017-05-23T14:51:09Z)
m (template:command argument fix)
Line 17: Line 17:
* "seagull" - "landed", "airborne"
* "seagull" - "landed", "airborne"


When you execute camCommand "landed" on a flying seagull, it will land and sit on the floor until you call camCommand "airborne". The [[camCommand]] changes are conducted immediately, the command doesn't wait for [[camCommit]]. |= Description
When you execute camCommand "landed" on a flying seagull, it will land and sit on the floor until you call camCommand "airborne". The [[camCommand]] changes are conducted immediately, the command doesn't wait for [[camCommit]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| camera '''camCommand''' command |= Syntax
| camera '''camCommand''' command |SYNTAX=


|p1= camera: [[Object]] - object of type "camera" or "seagull" |= Parameter 1
|p1= camera: [[Object]] - object of type "camera" or "seagull" |PARAMETER1=


|p2= command: [[String]] - one of "manual on", "manual off", "inertia on", "inertia off", "landed" and "airborne" corresponding to the description above. |= Parameter 2
|p2= command: [[String]] - one of "manual on", "manual off", "inertia on", "inertia off", "landed" and "airborne" corresponding to the description above. |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_camera '''camCommand''' "manual on";</code> |= Example 1
|x1= <code>_camera '''camCommand''' "manual on";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[cameraEffect]], [[camCreate]], [[camCommit]]  |= See also
| [[cameraEffect]], [[camCreate]], [[camCommit]]  |SEEALSO=


}}
}}

Revision as of 15:34, 7 April 2019

Hover & click on the images for description

Description

Description:
Executes a command on the given camera / actor object. Known commands for:
  • All camera types - "manual on", "manual off"
  • "camera" - "inertia on", "inertia off"
  • "seagull" - "landed", "airborne"
When you execute camCommand "landed" on a flying seagull, it will land and sit on the floor until you call camCommand "airborne". The camCommand changes are conducted immediately, the command doesn't wait for camCommit.
Groups:
Uncategorised

Syntax

Syntax:
camera camCommand command
Parameters:
camera: Object - object of type "camera" or "seagull"
command: String - one of "manual on", "manual off", "inertia on", "inertia off", "landed" and "airborne" corresponding to the description above.
Return Value:
Nothing

Examples

Example 1:
_camera camCommand "manual on";

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

Posted on May 23, 2017 - 14:51 (UTC)
SilentSpike
In Arma 3 with the addition of the curator camera type, the following commands are supported: _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";