10 Object targetObject = target.GetObject();
11 string selection = targetObject.GetActionComponentName(target.GetComponentIndex());
14 if ( selection == Spotlight.SEL_REFLECTOR_COMP_U && target_IB.HasEnergyManager() && target_IB.GetCompEM().CanSwitchOff() )
22 override void OnExecuteServer(
ActionData action_data )
24 Object targetObject = action_data.m_Target.GetObject();
28 target_EAI.GetCompEM().SwitchOff();