kvhollis Posted September 10, 2008 Share Posted September 10, 2008 Are there any variables on reading the unit's time and elevation? If so - how would one read and then use the data? Quote Link to comment
Ranger Fox Posted September 10, 2008 Share Posted September 10, 2008 Here's what you wanted and one extra. I had to do a search through the forum's older posts to come up with the code. Keep in mind the Builder doesn't supply you with this, so you'll have to do a little insertion into the lua code itself. To get someone's elevation/altitude: Player.ObjectLocation.altitude:GetValue("ft") To get the current date and time (the argument specifies the formatting): os.date("%c") Referencing this post To get the GPSr's accuracy (the argument specifies the units): Player.PositionAccuracy:GetValue('ft') Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.