См. определение в файле NVGoggles.c строка 145
146 {
148 return;
149
150
151 SetAnimationPhase("rotate",!state);
153
154 PlayerBase player;
155 int slot_id;
156 string slot_name;
157 if (
m_Strap &&
m_Strap.GetInventory().GetCurrentAttachmentSlotInfo(slot_id,slot_name) && PlayerBase.CastTo(player,
m_Strap.GetHierarchyParent()) )
158 {
160 }
161
162 if ( GetCompEM() )
163 {
164 if ( !state && GetCompEM().CanWork() )
165 GetCompEM().SwitchOn();
166 else
167 GetCompEM().SwitchOff();
168 }
169 }
Перекрестные ссылки m_IsLowered и m_Strap.
Используется в NVGoggles(), OnWasAttached(), OnWasDetached(), OnWork() и OnWorkStart().