Jump to content
Sign in to follow this  
Solex_nl

how to: AI throwing Red Smoke grenades..?

Recommended Posts

Hello all!

I have a question about how to make the AI throw a smoke grenade.

<Asked it also on the Armaholic forum but they don't know (yet)>

http://www.armaholic.com/forums.php?m=posts&q=6852&n=last#bottom

anyway,

I have a pilot named PilotAI with a red smoke handgrenade and making him walk, on one of his waypoints:

PilotAI fire ["throw","SmokeShellRed","SmokeShellRed"]

That doesnt work.

PilotAI fire "SmokeShellRedMuzzle"

Doesnt work either.

Does anybody know how to get it to work?

Thanks

Alex.

Share this post


Link to post
Share on other sites

To throw it: unitname fire ["SmokeShellMuzzle","SmokeShellMuzzle","Smokeshellred"];

Edit: I dont understand why the forum adds a space in SmokeShellred.

Edited by SaOk

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  

×