Jump to content

KremlinGuy

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About KremlinGuy

  • Rank
    Newbie
  1. Alright, so currently I am developing an OPTRE Spec Ops mission, where a group of ODST soldiers start in a Pelican dropship headed towards its insertion point. I want to begin the mission with a red light within the interior of the Pelican, which I have managed to do successfully. But, I want that light to switch to green whenever the dropship is over the insertion point activated by a trigger that I have designated as (A1). It seems that the code I implement within the initialization fields of the dropship works, but only for a split second as the red light flickers, but does not change to green. Any help is greatly appreciated! This is the code that I have tried to implement: if( triggerActivated A1) then { //The following code will set the interior color to Green. light2 = "#lightpoint" createVehicleLocal [0,0,0]; light2 setLightBrightness .125; light2 setLightAmbient [1,0.2,0.2]; light2 setLightColor [0,0,255]; light2 lightAttachObject [this,[0,-2.5,-0.8]]; }; if ( !triggerActivated A1) then { //The following code will set the interior to Red. light1 = "#lightpoint" createVehicleLocal [0,0,0]; light1 setLightBrightness .125; light1 setLightAmbient [1,0.2,0.2]; light1 setLightColor [255,0,0]; light1 lightAttachObject [this,[0,-2.5,-0.8]]; pelican1 say3D ["music1", 10, 1]; };
×