Category | Farming Simulator 22 |
Created | 23.06.2024 17:14 |
Norman Nobbster (Schnobbi) | 23.06.2024 17:14 |
---|---|
Hi, I want to create a ButtonBox and with ChatGPT I already managed to get a lot of stuff working. Now I want to create a mod which is reading the state of a switch. For example: If my switch for the light is turned on and I am getting into a vehicle I want the game to read the switch state and turn the light on. Like: If getting into vehicle then read if key is pressed..And If the key is pressed then I want to do it like: If key is pressed and light stauts = 0 then turn on light. I hope you get what I mean. I have not much knowledge of programming and spent a lot of hours with ChatGPT trying to get it done but its just not working So maybe someone knows if such a mod already is existing? If not, maybe someone can tell me how to read a status of an input and maybe I will get it to work. |
Note: Log in to post. Create a new account here.