camCommand: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (description, see also) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Executes a command on the given ''camera / actor'' object. | | 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]]. |= 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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 36: | Line 32: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[cameraEffect]], [[camCreate]], [[camCommit]] |= See also | ||
}} | }} |
Revision as of 13:48, 3 April 2015
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"
- 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Camera Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters