$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Instruct the camera to track a droid...

 

Syntax

cameraTrack(droid);

Parameters

ParameterTypeMandatoryNotesWarzone Version
droidDroid object(tick)

The droid to track – the camera will follow the droid until its destroyed.

You can stop tracking by passing in a value of null.

3.2

Return value

(question)

Example

 

Availability 3.2+

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

See also

Related articles:

  • cameraZoom() – transition camera zoom level to a new value
  • cameraSlide() – slide the camera to a new x,y tile co-ordinate
  • centreView() – center the camera on a specific x,y tile co-ordinate

 

  • No labels