Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Is there some way to make a switch turned off on start of mission, for example, if your task to restore light in certain area ?
@Rogue_THE_GAMER is there way or a script that will enable you to turn lights on and off. For example I want to make a range where I can train members in light and then they practice with NVG's
Is-it possible to addapt to other generator or things like this ?
I put your script in an external generator ( the CUP one ), but I can't swich on the light. When I swich off, the light disappeared but I haven't got the "swich on" obtion.
What can I do ?
(init field of object)
light="#lightpoint" createVehicle [0,0,0];
light lightAttachObject [this,[0,-0.3,0]];
light setLightBrightness 1;
light setLightAmbient [0,0,0];
light setLightColor [256,20,0];
light setLightUseFlare true;
light setLightFlareSize 5;
light setLightFlareMaxDistance 500;
Only issue now is that "forEach [light_1,light_2];" does not seem to work on lights created with lightAttacObject. Any ideas?
to
forEach [light_1,light_2];
You can also add more lights as you like
Better thant just explode the generator ^^.
But to make it easy, here is the mission file, umpack it into your missions folder so you can open in the editor
https://drive.google.com/file/d/1PJiU5h7KHzN_EJwYjINjjWdNEnr294xJ/view