ali Posted October 24, 2012 Posted October 24, 2012 (edited) deleted Edited October 24, 2012 by Guest
Castillo Posted October 24, 2012 Posted October 24, 2012 You must make a table with coordinates, then get a random one using: math.random
Castillo Posted October 24, 2012 Posted October 24, 2012 Example: coordinates = { { 0, 0, 0 }, { 0, 0, 5 }, { 0, 0, 10 }, } x, y, z = unpack ( coordinates [ math.random ( #coordinates ) ] )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now