DayZ 1.24
Loading...
Searching...
No Matches
PartyLight.c
Go to the documentation of this file.
1class PartyLight extends PointLightBase
2{
3 float m_Timer = 0;
4
5 void PartyLight()
6 {
7 SetVisibleDuringDaylight(true);
8 SetRadiusTo(30);
9 SetBrightnessTo(1.0);
10 SetCastShadow(true);
11 //SetLifetime(600);
12 SetFadeOutTime(1);
13 }
14
16 {
20 SetDiffuseColor(valS, valC, valT);
21 SetAmbientColor(valS, valC, valT);
22
23
25 }
26}
ref Timer m_Timer
Definition DayZGame.c:675
Definition EnMath.c:7
override void OnFrameLightSource(IEntity other, float timeSlice)
Definition PartyLight.c:15
void PartyLight()
Definition PartyLight.c:5
static const float PI2
Definition EnMath.c:13
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Tan(float angle)
Returns tangent of angle in radians.
static proto float Sin(float angle)
Returns sinus of angle in radians.
static proto float AbsFloat(float f)
Returns absolute value.