View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008188||New issues||Scripting||public||2014-04-18 15:42||2017-05-26 16:25|
|Platform||OS||Windows||OS Version||8.1 64-bit|
|Summary||0008188: setVehicleDoorState, getVehicleDoorState don't correctly work with states 1 and 3|
Setting door states to 1 and 3 gives only the half of the effect. For example, wiki says state 1 makes the door ajar (swinging), intact, but when setting the state to 1, it makes the door only intact, but not ajar. To make it ajar you have to combine state 1 with state 3. Almost the same situation with state 3. The only difference between 1 and 3 is the working effect half. Setting state to 3 makes the door ajar, but not damaged, while wiki says it will get ajar, damaged. This can be workarounded by calling setVehicleDoorState in state combinations:
setVehicleDoorState(vehicle, door, 0)
setVehicleDoorState(vehicle, door, 2)
Since this happens, after called any combinations of the above will set the door state to 3 while setting a different effect, what makes it barely possible to return the real door effect state (damaged or intact).
|Steps To Reproduce|
The 3 and 4 step indicates that state 3 is actually a mix of 2 states and makes it impossible to know the real state of the vehicle, if setting door states manually.
|Tags||No tags attached.|