FANDOM



addCamera(<sCameraName>, <tTarget>, <tOrigin>)
Description
Adds a camera location to a ".level" file.
Example
addCamera("camera2", { -5347.623, 0, -5815.865, } , { -3735.116, 2199.638, -3459.261, })
Arguments
<sCameraName>: This is the name of the camera.
<tTarget>: This is a table of X, Z, and Y coordinates for the point the camera will look at, otherwise known as the camera's target.
<tOrigin>: This is a table of X, Z, and Y coordinates for the base point of the camera.
Notes
I think these are called "C/V camera focal points". - Mikail
I think you can only have a maximum of 20 (set in "camera.lua"). - Mikail
Related Pages



Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.