Jump to content
Sign in to follow this  
WarhammerActual

[HELP] Modded BIS Spotlight

Recommended Posts

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

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. 

:whistle:

Share this post


Link to post
Share on other sites

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.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 5/29/2018 at 1:32 AM, EO said:

From the forum guidelines...

:whistle:

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×