Exemplo n.º 1
0
        protected virtual void PlacePilotInSeat(MyCharacter pilot)
        {
            bool pilotIsLocal = MySession.LocalHumanPlayer != null && MySession.LocalHumanPlayer.Identity.Character == pilot;

            m_pilot.Sit(m_enableFirstPerson, pilotIsLocal, m_isLargeCockpit || !m_enableShipControl, BlockDefinition.CharacterAnimation);
            CubeGrid.SetInventoryMassDirty();
        }
Exemplo n.º 2
0
 void Inventory_ContentsChanged(MyInventoryBase obj)
 {
     CubeGrid.SetInventoryMassDirty();
 }
Exemplo n.º 3
0
 protected virtual void RemovePilotFromSeat(MyCharacter pilot)
 {
     CubeGrid.SetInventoryMassDirty();
 }