Jump to content
Sign in to follow this  
Opticalsnare

AI Flares

Recommended Posts

Need something fancy for my night patrol... wink_o.gif

Is it possible to get an AI to fire a flare when the enemy walks into the trigger zone?

Share this post


Link to post
Share on other sites

this is what ive done so far

Enemy Flare Gunner

Quote[/b] ]enemy01 addmagazine "FlareRed_GP25"; Enemy01 SelectWeapon "FlareRed_GP25";

And the trigger is

Quote[/b] ]Enemy01 fire "AK74GL"

Hmmm dont work tho..

Can someone help me with this part

Quote[/b] ]["LOADMAGAZINE", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle name>]

Share this post


Link to post
Share on other sites

try:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

Enemy01 fire ["FlareRed_GP25","FlareRed_GP25","FlareRed_GP25"]

and just addmagazine him the flares before.

I can't verify that 100% but i remember that in OFP it worked like that,stating the muzzle and the mode in addition.

Share this post


Link to post
Share on other sites

I think maybe your problem is the fire command--

I was messing around and got it to work using:

Enemy01 fire ["GP25muzzle" ]

let me know if it worked for ya'll or if its just a fluke

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  

×