camCommand: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Executes a command on the given ''camera / actor'' object. | ||
The '''"manual on"''' and '''"manual off"''' commands are recognized for all types. | |||
For the '''"camera" type''', the following commands can be used: "inertia on" and "inertia off". | |||
For the "seagull" type it's one of: '''"landed"''' and '''"airborne"''' these control if they land or fly. | |||
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 | ||
|p1= object: [[Object]] - object of type "camera" or "seagull" |= Parameter 1 | |p1= object: [[Object]] - object of type "camera" or "seagull" |= Parameter 1 | ||
Line 23: | Line 33: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_camera '''camCommand''' "manual on"</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 01:17, 8 August 2006
Description
- Description:
- Executes a command on the given camera / actor object. The "manual on" and "manual off" commands are recognized for all types. For the "camera" type, the following commands can be used: "inertia on" and "inertia off". For the "seagull" type it's one of: "landed" and "airborne" these control if they land or fly. 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:
- object: 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:
- 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