camCreate

From Bohemia Interactive Community
Revision as of 15:13, 3 August 2006 by Hardrock (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Create a camera or a seagull object on the given position. Also other objects can be created this way, but vehicles created with camCreate cannot be entered. Any units created with camCreate will remain static. With difference to createVehicle, objects are created without consideration of the collision detection with surrounding objects, thus the objects are spawned exactly at the given position.camCreate is conducted immediately, the command doesn't wait for camCommit.
Groups:
Uncategorised

Syntax

Syntax:
type camCreate position
Parameters:
type: String - either "camera", "seagull" or any other class name of OFP vehicles.
position: Position - position to create the object at
Return Value:
Object - The newly created object is returned.

Examples

Example 1:
_cam = "camera" camCreate (position player)

Additional Information

See also:
camDestroycreateVehiclecreateUnit

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

Posted on August 3, 2006 - 14:13
hardrock
{{{1}}}

Bottom Section