Function; addCamera - HWRM/KarosGraveyard GitHub Wiki
addCamera(<sCameraName>, <tTarget>, <tOrigin>)
- Adds a camera location to a ".level" file.
addCamera("camera2", { -5347.623, 0, -5815.865, } , { -3735.116, 2199.638, -3459.261, })
- <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.
- I think these are called "C/V camera focal points". --Mikali
- I think you can only have a maximum of 20 (set in "camera.lua"). --Mikali
Updated Formatting? Yes
Updated for HWRM? Initial