You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make an app which let's the player save his current position with a hotkey and then reset the car to that postion with another hotkey.
I had a look at ResetCar2Track and the Python Documentation of the ac module. It seems possible to save the location of the car via the getcarstate() function of the ac python module and to react to hotkeys using the csp extension for the ac python module. Furthermore the csp extension also offers a resetCar() funtion, so it is possible to edit the carstate. Unfortunatley there is neither a function setcarstate() nor the possibilty to give a specific location as an argument to the resetCar() function of the csp extension.
Can someone help me out here on how to do that? This must be possible if you can reset a car, because a reset also places the car to a dynamic point on the track depening on where the car is on the track when activating the resetCar() function
The text was updated successfully, but these errors were encountered:
I'm trying to make an app which let's the player save his current position with a hotkey and then reset the car to that postion with another hotkey.
I had a look at ResetCar2Track and the Python Documentation of the ac module. It seems possible to save the location of the car via the getcarstate() function of the ac python module and to react to hotkeys using the csp extension for the ac python module. Furthermore the csp extension also offers a resetCar() funtion, so it is possible to edit the carstate. Unfortunatley there is neither a function setcarstate() nor the possibilty to give a specific location as an argument to the resetCar() function of the csp extension.
Can someone help me out here on how to do that? This must be possible if you can reset a car, because a reset also places the car to a dynamic point on the track depening on where the car is on the track when activating the resetCar() function
The text was updated successfully, but these errors were encountered: