Jump to content
Sign in to follow this  
Czechm8

how to get ai to fire flare?

Recommended Posts

i set up AI and then try attach this command to a trigger but i get an error message invalid number in expression

flaregunner fire [“grenadesmuzzleâ€, “FlareWhite_GP25â€]

what am i doing wrong here>?

Share this post


Link to post
Share on other sites

Perhaps they need i target to fire at? I don't know anything about scripting mind!

Share this post


Link to post
Share on other sites

Hey, Try this:

Soldier: Place a soldier (Named Spotter)

Place a trigger and set it up to be triggered by BULFOR

Trigger: In the (On Act) box put this in

Spotter fire ["GP25Muzzle","GP25Muzzle","FlareWhite_GP25"];

You could also use other colours:

"FlareGreen_GP25"

"FlareRed_GP25"

"FlareYellow_GP25"

When the trigger is triggered, The soldier will fire a flare in to the air.

Not sure how to make the soldier fire ar a specific target yet though.

Anyone got any ideas?

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  

×