Listening to user actions

Discussion in 'Programming' started by ericmarciano, Nov 29, 2025 at 1:03 PM.

  1. ericmarciano

    ericmarciano
    Expand Collapse

    Joined:
    Sep 1, 2021
    Messages:
    105
    I would like to have an LUA code that can be triggered when the player triggers an action. For example, let's say he presses N to turn the lights on, I would like to be notified to triggers actions in my code. Is that possible?
    I couldn't find any info to do this, any help is welcome.
     
  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