I've been browsing the Lua reference for about 30 minutes and i can't seem to find a function that tells me what camera the player is on. (external cameras or interior ..) Also, how do i get key press?
Sorry for bumping without an answer... but there's a Lua reference? I must be overlooking it, please share.
Hah, sure enough. Thank you. As far as getting keypresses, have you looked over an existing mod like this one? The OP claims it doesn't work after some BeamNG update, but later posts make it clear that the code still functions (see page 5). http://www.beamng.com/threads/lowri...-or-something-that-thing-from-roadkill.13353/
It works kinda, i can only get the input of the key F and E. weird I found input_actions.json in the t3d folder, im getting close to the answer i think.
Im not sure what a genius is but, you're one. There function mapped to keys in the advanced binding, they were mapped to E and F ect .. Thanks!!