Mordacai 38 Posted December 13, 2016 I want to port my A2 missions to A3. This is a code from an A2 scriptor to set ambient lights on buildings, barracks and so forth. Works like a charm in A2 but I cannot get it to work in A3. Needs a FUNCTION placed on the map and for the life of me, I cannot find FUNCTION in Eden editor. Using CUPS so I can locate Game Logics---cups. Basically, set down a Game Logic and put in the init: light = "#lightpoint" createVehicleLocal position this; light setLightBrightness 0.1; light setLightAmbient[0.2, 0.0, 0.0]; light setLightColor[1.0, 0.0, 0.0]; light lightAttachObject [this, [0,0,2]]; Will this code work with A3 and how can I do so? Thank you in advance. Share this post Link to post Share on other sites
Mordacai 38 Posted December 13, 2016 RESOLVED I found the solution to this by placing a GAME LOGIC on the map with everything left blank. This line will increase or decrease brightness, which I had to do: setLightBrightness 0.1 This sets the color to RED light setLightColor[1.0, 0.0, 0.0]; This sets the color to BLUE light setLightColor[0.0, 1.0, 0.0]; This sets the color to GREEN light setLightColor[0.0, 0.0, 1.0]; Share this post Link to post Share on other sites