Jump to content

Changing map


papam77

Recommended Posts

Example:

This would zoom in from above and go down every second.

[lua]local z = 200

setCameraMatrix(0,0,z,0,0,0) --set the camera from 200 ft above the ground

setTimer(function()

z = z - 1

setCameraMatrix(0,0,z,0,0,0)

end,1000,200) --every 1000ms/1sec the camera would zoom in

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...