RDNWiki: DOWScar/Functions/CameraFocusOnTargetPos ...

RDN Wiki Home | Page Index | Recent Changes | Recently Commented | Users | Registration | Login:  Password:  

Camera_FocusOnTargetPos


Focus the camera on a target position.


Void Camera_FocusOnTargetPos(
Position targetpos,
Real secs

)


Parameters


targetpos

The position in the game world to focus on.

secs

Time in seconds to focus for.

Description


Focus the camera on a target position.

Remarks


This function MUST be called through a CTRL object in NISlets if secs is greater then zero.

IMPORTANT: This function does not lock user input. If this function is called through a CTRL Camera_SetInputEnabled?(false) should almost certainly be called!

Example

Function Revisions


1.00: Initial function.

Source


LuaCamera.cpp (Part of the internal game resources)

See Also


Categories: Camera

Referring pages: DOWScar/Functions/CameraFocusOnTargetMarker
DOWScar/Functions/Index
DOWScar/Functions/IndexCamera

There are no files on this page. [Display files/form]
There is no comment on this page. [Display comments/form]