How to reset the color of a car after player exits?
Posted: Tue Apr 07, 2020 11:50 pm
Hello everyone.
In the last few days I have created a mod that adds the Brutus, a car with the driver visible. Right now I am modeling the driver. My plan is to use the color layer (the one with "apply_runtime_tint = true") to add the driver if a player is actually in the car. However - I think since .18 - the color stays after the player exits. Now this would of course mean that the driver stays visible after the player exits which is what I obviously don't want to happen.
Is there a flag I can set to reverse this behaviour? If not, is there a way to do it with some runtime code?
Yours, Flo
In the last few days I have created a mod that adds the Brutus, a car with the driver visible. Right now I am modeling the driver. My plan is to use the color layer (the one with "apply_runtime_tint = true") to add the driver if a player is actually in the car. However - I think since .18 - the color stays after the player exits. Now this would of course mean that the driver stays visible after the player exits which is what I obviously don't want to happen.
Is there a flag I can set to reverse this behaviour? If not, is there a way to do it with some runtime code?
Yours, Flo