Category | Scripting |
Created | 06.01.2022 10:49 |
Jan Craymer (craymer) | 06.01.2022 10:49 |
---|---|
Hello, I created a script which should be installed as a specialization in every vehicle. The problem I have now is that the script only works if I enter a vehicle manually and not by tabbing through them. I can't figure out what would be the difference between those two actions. Maybe I registered the specialization in a wrong way? I tried to orient myself on other scripts but maybe there is a better documentation somewhere that I haven't found yet? If anyone has an idea please point me into the right direction :) Thank you in advance. |
Jan Craymer (craymer) | 08.01.2022 17:29 |
---|---|
Nevermind, I found a solution for my problem. It seems that the problem resulted in registering action events wrongly. Instead of g_inputBinding:registerActionEvent I'm now using self:addActionEvent and that seems to work better. |
Note: Log in to post. Create a new account here.