ali Posted October 24, 2012 Share Posted October 24, 2012 (edited) deleted Edited October 24, 2012 by Guest Link to comment
Castillo Posted October 24, 2012 Share Posted October 24, 2012 You must make a table with coordinates, then get a random one using: math.random Link to comment
ali Posted October 24, 2012 Author Share Posted October 24, 2012 cant understand still Link to comment
Castillo Posted October 24, 2012 Share Posted October 24, 2012 Example: coordinates = { { 0, 0, 0 }, { 0, 0, 5 }, { 0, 0, 10 }, } x, y, z = unpack ( coordinates [ math.random ( #coordinates ) ] ) Link to comment
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