TheManGoesWild Posted October 9, 2020 Report Share Posted October 9, 2020 Is there a scripting way that can activate lights that object(s) on a map have, example I have made flashing bollards infront of my stations, and currently you have to select them like a vehicle and use the flashing lights script (and only selectable for the host on MP). But is there a way that I can have a person in game click a button (similar to the Mayberry mod gate buttons) to activate the lights, eg I name the objects "station_bollards" and then all objects named that will activate on/off when pressed. Or preferably, if a trigger polygon could be used to turn them on/off when a vehicle is detected like the gates. I saw some scripts have something that seems related, but I'm unsure how to script it; { GameObject *obj = l1.GetObject(i); if (!obj->IsSpecialLightEnabled()) { obj->EnableSpecialLights(true); } } http://www.emergency-planet.com/uploads/monthly_2020_10/1320622087_Emergency4Screenshot2020_10.09-16_53_00_74.thumb.png.f33bd15370ba5b3c9056aac75c411cc8.png Quote Link to comment Share on other sites More sharing options...