61 {
62 super.OnStartServer(action_data);
63
64 PlayerBase player = action_data.m_Player;
65
66 float phase;
68 {
69 phase = 1.0;
70 }
71 else
72 {
73 phase = 0.0;
74 }
75
76 string animSource = "";
77
78 CarScript car;
79 if (player && player.GetCommand_Vehicle())
80 {
81 car = CarScript.Cast(player.GetCommand_Vehicle().GetTransport());
82 if (car)
83 {
84 int crewIdx = car.CrewMemberIndex(player);
86 }
87 }
88
89 if (car)
90 {
91 car.ForceUpdateLightsStart();
92 car.SetAnimationPhase(animSource, phase);
93 }
94 }
override string GetDoorSelectionNameFromSeatPos(int posIdx)
override string GetAnimSourceFromSelection(string selection)