;FRONT DRIVER

 [object]
    States = Doors\LeftSideDoor Off.b3d, Doors\LeftSideDoor.b3d
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TranslateZFunction = 0.9 * Leftdoors

 [object]
    States = Doors\LeftSideDoor2 Off.b3d, Doors\LeftSideDoor2.b3d
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TranslateZFunction = -0.9 * Leftdoors

 [object]
    States = Doors\RightSideDoor Off.b3d, Doors\RightSideDoor.b3d
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TranslateZFunction = 0.9 * Rightdoors

 [object]
    States = Doors\RightSideDoor2 Off.b3d, Doors\RightSideDoor2.b3d
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TranslateZFunction = -0.9 * Rightdoors

 [object]
    States = Doors\LeftRedLightOff.b3d, Doors\LeftRedLightOn.b3d
    StateFunction = if[ leftdoors, 1 | leftdoors, 0 ]

 [object]
    States = Doors\RightRedLightOff.b3d, Doors\RightRedLightOn.b3d
    StateFunction = if[ rightdoors, 1 | rightdoors, 0 ]

 [object]
    States = Body Exterior.b3d

 [object]
    States = Body Off.b3d, Body On.b3d
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]

 [object]
    States = Rollsign\FrontRollsign Off.b3d, Rollsign\FrontRollsign.b3d     
    StateFunction = pluginstate[53]
    TextureShiftYFunction = value + (0.0015 * pluginstate[109])

 [object]
    States = Rollsign\FRTerm Off.b3d, Rollsign\FRTerm.b3d    
    StateFunction = pluginstate[53]
    TextureShiftYFunction = value + (0.0015 * pluginstate[108])

 [object]
    States = Rollsign\NDestinations Off.b3d, Rollsign\NDestinations.b3d     
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TextureShiftYFunction = value + (0.0015 * pluginstate[106])

 [object]
    States = Rollsign\SDestinations Off.b3d, Rollsign\SDestinations.b3d       
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TextureShiftYFunction = value + (0.0015 * pluginstate[105])

 [object]
    States = Rollsign\RouteSide Off.b3d, Rollsign\RouteSide.b3d       
    StateFunction = if [pluginstate[53], 1 != pluginstate[101], 0]
    TextureShiftYFunction = value + (0.0015 * pluginstate[104])


;MARKER LIGHT
[object]
    Position = 0.00,-0.03,-1.63
    States = NullB3d.b3d, RRMarkerLight.b3d, RYMarkerLight.b3d, RGMarkerLight.b3d, RWMarkerLight.b3d, YYMarkerLight.b3d, RYMarkerLight2.b3d,YGMarkerLight.b3d, WYMarkerLight.b3d, GGMarkerLight.b3d, RGMarkerLight2.b3d, YGMarkerLight2.b3d, WGMarkerLight.b3d, WWMarkerLight.b3d, RWMarkerLight2.b3d,  WYMarkerLight2.b3d, WGMarkerLight2.b3d
    StateFunction =  Mod[value+delta*pluginstate[102], 17] 


  [object]
    Position = 0, -0.01, 5.65
    States = CouplerF.b3d
  [object]
    Position = 0, -0.01, -5.65
    States = CouplerB.b3d

;TURN OFF LIGHT/BRIGHT
[object]
    States = NullB3d.b3d, BarExpOn.b3d, BarLocalOn.b3d
    StateFunction =  Mod[value+delta*pluginstate[103], 3]

 [object]
    States = Driver Car.b3d

 [object]
    States =  Loose Power Parts.b3d, NullB3d.b3d
    StateFunction = pluginstate[53]