WarhammerActual 23 Posted May 28, 2018 So I want to use this mod so I can have guards man spot lights for a prison mission Mod here: http://www.armaholic.com/page.php?id=26934 But I can not for the life of me get them to actually turn on the spotlight whether during combat or statically. The AI will track enemy but will not activate the search/spotlight. I have done exactly what the author says to do for activation still no light. Consider using the following to make AI use it properly 1. On man init: _man moveinturret [_spot, [0]]; //replace _man and _spot with name of AI and empty spotlight object 2. On light init: _man action["lightOn", this]; //replace _man with name of AI 3. On light init: this setpos [getpos this select 0, getpos this select 1, +4]; null=[this] spawn { while {alive (_this select 0)} do {sleep random (12)+6;(_this select 0) setformdir random 45};}; However when I play the mission I can man the turret (spot light) and manually activate the light from the scroll wheel . I know the mod was posted in 2014 but that shouldn't effect the Ai turning on the light , since it functions manually. Any thoughts on how to get this working? Share this post Link to post Share on other sites
EO 11230 Posted May 29, 2018 From the forum guidelines... Quote No spam or advertising: Please do not post duplicate threads in more than one forum and do not "Bump" threads. Share this post Link to post Share on other sites
Harzach 2507 Posted May 29, 2018 Did you remember to change the placeholder variables with the variable names of your AI and spotlight? Also, this should probably be in editing & scripting. 1 Share this post Link to post Share on other sites
WarhammerActual 23 Posted May 31, 2018 On 5/29/2018 at 1:32 AM, EO said: From the forum guidelines... Truly I apologize On 5/29/2018 at 1:11 PM, Harzach said: Did you remember to change the placeholder variables with the variable names of your AI and spotlight? Also, this should probably be in editing & scripting. I did.. Thank you for the replies, I will keep at it. Share this post Link to post Share on other sites
WarhammerActual 23 Posted May 31, 2018 Got it sorted , Thank you Harzach. I had one of the names misaligned . It now works GREAT along with this Simple Guard Post Script Video is of poor quality , I was lazy and used my phone, but you get the point . 1 Share this post Link to post Share on other sites