CreateTweenCamera

Description

Creates an camera tween with a given duration and returns an ID for it. This tween is merely a template that can be applied to multiple cameras or chains at the same time. All tween types share the same ID space, so a camera tween of ID 1 cannot exist at the same time as an object tween with ID 1. You can set multiple parameters for this tween, such as X position and Angle, that will all move from their start values to their end values over the given duration.

Definition

integer CreateTweenCamera( duration )

CreateTweenCamera( tweenID, duration )

Parameters