camCommand

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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.

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

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!