I want to use the camera alias in the lua scripts to trigger the camera periodically. But the script give an error saying attempt to index a nil value ‘camera’. I guess it is because of the following conditions:
Please help on how can I trigger camera periodically?