67 {
69
71 {
72 m_Light = ChemlightLight.Cast( ScriptedLightBase.CreateLight( ChemlightLight,
"0 0 0") );
73 m_Light.AttachOnMemoryPoint(
this,
"light");
74
76
77 switch( type )
78 {
79 case "Chemlight_White":
81 break;
82 case "Chemlight_Red":
84 break;
85 case "Chemlight_Green":
87 break;
88 case "Chemlight_Blue":
90 break;
91 case "Chemlight_Yellow":
93 break;
94
95 default: {
m_Light.SetColorToWhite(); };
96 }
97 }
98 }
eBleedingSourceType GetType()
string GetMaterialForDamageState(bool glowing, int healthLevel=-1)
proto native CGame GetGame()