3 SoundOnVehicle m_SoundLoopEntity;
5 override bool IsElectricAppliance()
10 override void OnInitEnergy()
12 m_SoundLoopEntity = NULL;
20 m_SoundLoopEntity = PlaySoundLoop(
"powerGeneratorLoop", 50);
23 override void OnWork(
float consumed_energy )
32 GetGame().ObjectDelete(m_SoundLoopEntity);
33 m_SoundLoopEntity = NULL;
37 override void OnSwitchOn()
42 override void OnSwitchOff()
49 super.OnVariablesSynchronized();
63 super.OnPlacementComplete( player, position, orientation );
70 return "placeRefridgerator_SoundSet";