5 private const string GAS_LIGHT_MATERIAL_ON =
"dz\\gear\\cooking\\data\\GasLightOn.rvmat";
6 private const string GAS_LIGHT_MATERIAL_OFF =
"dz\\data\\data\\default.rvmat";
9 const string SOUND_BURNING =
"portablegaslamp_burn_SoundSet";
10 const string SOUND_TURN_ON =
"portablegaslamp_turn_on_SoundSet";
11 const string SOUND_TURN_OFF =
"portablegaslamp_turn_off_SoundSet";
13 protected EffectSound m_SoundBurningLoop;
39 m_Light.AttachOnMemoryPoint(
this,
"light");
43 SetObjectMaterial( 0, GAS_LIGHT_MATERIAL_ON );
55 SetObjectMaterial( 0, GAS_LIGHT_MATERIAL_OFF );
void AddAction(typename actionName)
Wrapper class for managing sound through SEffectManager.
override void OnSwitchOn()
EffectSound m_SoundTurnOn
EffectSound m_SoundTurnOff
override void OnWorkStart()
override void SetActions()
EffectSound m_SoundBurningLoop
override void OnWorkStop()
override void OnSwitchOff()
class Land_Buoy extends House m_Light