Okay, great! Also, you may already be aware of this, but enabling the developer console in your game configuration is convenient for testing scripts like these so you can tweak values and see the results right away in-game. For example, you can paste something like this in and hit the enter key to run it:
lock_camera(); move_camera_over_time(coord[2, 2, 24], 2, entity["chest01"])