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