69 {
70 HumanCommandVehicle vehCommand = player.GetCommand_Vehicle();
71 if (vehCommand)
72 {
74 if (trans)
75 {
76 int crewIndex = trans.CrewMemberIndex(player);
77 return crewIndex >= 0 && trans.CrewCanGetThrough(crewIndex) && trans.
IsAreaAtDoorFree(crewIndex);
78 }
79 }
80
81 return false;
82 }
proto native Transport GetTransport()
override bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight=0.5, float horizontalExtents=0.5, float playerHeight=1.7)