[Solved, yet again!]Get KeyPress And Camera

Discussion in 'Programming' started by TheStatPow, Nov 4, 2015.

  1. TheStatPow

    TheStatPow
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    145
    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?
     
  2. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Sorry for bumping without an answer... but there's a Lua reference? I must be overlooking it, please share.
     
  3. TheStatPow

    TheStatPow
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    145
  4. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
  5. TheStatPow

    TheStatPow
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    145
  6. TheStatPow

    TheStatPow
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    145
    It works kinda, i can only get the input of the key F and E. weird :p

    I found input_actions.json in the t3d folder, im getting close to the answer i think.
     
    #6 TheStatPow, Nov 6, 2015
    Last edited: Nov 6, 2015
  7. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Be sure that you have all the keys you want mapped in the Advanced Controls.
     
  8. TheStatPow

    TheStatPow
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    145
    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 .. :D


    Thanks!!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice