8 SetVisibleDuringDaylight(
true );
10 SetSpotLightAngle( 95 );
11 SetCastShadow(
true );
14 SetAmbientColor( 0.92, 0.85, 0.58 );
15 SetDiffuseColor( 0.92, 0.85, 0.58 );
16 SetFadeOutTime( 0.1 );
20 void SetColorToWhite()
22 SetAmbientColor( 0.92, 0.85, 0.86 );
23 SetDiffuseColor( 0.92, 0.85, 0.86 );
28 SetAmbientColor( 1.0, 0.2, 0.2 );
29 SetDiffuseColor( 1.0, 0.2, 0.2 );
32 void SetIntensity(
float coef,
float time )
38 void PerformVisibilityCheck(
EntityAI owner)
40 if (!owner.IsFlagSet(
EntityFlags.VISIBLE) && IsEnabled())
44 else if (owner.IsFlagSet(
EntityFlags.VISIBLE) && !IsEnabled())