private void SpeakCaptainOnOnMissionSuccess(MyMissionBase sender) { MyScriptWrapper.AddNotification(MyScriptWrapper.CreateNotification(MyTextsWrapperEnum.NewMissionRecieved, MyHudConstants.FRIEND_FONT, 10000)); var position = m_madelynDummy.GetPosition(); var rotation = m_madelynDummy.GetOrientation(); m_madelyn.MoveAndRotate(position, rotation); //m_madelyn.SetWorldMatrix(m_madelynDummy.GetWorldMatrixForDraw()); MyScriptWrapper.UnhideEntity(MyScriptWrapper.GetEntity((uint)EntityID.PrefabContainer)); MyScriptWrapper.SetEntityEnabled(MyScriptWrapper.GetEntity((uint)EntityID.Scanner1), false); MyScriptWrapper.SetEntityEnabled(MyScriptWrapper.GetEntity((uint)EntityID.Scanner2), false); }