I am trying to edit the digital air-speedometer UI app to make it a digital altimeter (relative to player's original elevation). I know some C++, which I've heard the game is programmed with, but I can hardly understand this code I would like to do the following: -Keep the box that the air speed is kept in -Two variables: InitialPlayerZposition (the game's up and down units if you look in the map editor), and currentElevation (the variable that will be displayed in the box) -When the app is added or reset, find the z position of the player and assign that value to InitialPlayerZposition. Or let the player input a custom value (maybe) -Frequently compare the player's current Z position to InitialPlayerZposition, setting currentElevation to current Z position - (minus) InitialPlayerZposition Any tips/suggestions on how I can make this simple app? Thanks
That's not C++. That's JavaScript. You'll need to learn how JavaScript works, and figure out what stream the player's altitude is.