Jump to content
Sign in to follow this  
acidcrash

Ai and smoke-grenades

Recommended Posts

ok, i know you can make spec ops place satchels with the help of a trigger, but how do i make an AI soldier throw a smoke grenade?

What the idea is, is when the group of helos flys through the trigger i want it so an officer at the LZ drops a smoke grenade to make it more visable from the air and to add effect.

can anyone give me any help?

thanks in advance smile.gif

Share this post


Link to post
Share on other sites

Hi. Don't know if this will help, but another option anyway.

Flare1 = "Flare Type" CamCreate [GetPos unitname]

Just fill in the unitname.

Maybe DVChrisDeath will answer your smokegernade (he's kindof clever) smile.gif

Share this post


Link to post
Share on other sites

that will create flare. i'm sure there is name for smoke grenade. replace "flare type" with "smoke type", where smoke type is name for smoke grenade or name of that effect.

if you want your AI to actually throw, then you might have to creat a script that

1.makes AI choose grenade

2.throws/fires it to specific place.

hope this helps..i'm not much of scripter sad.gif

Share this post


Link to post
Share on other sites

ok, first i tried what you said bosun, but it didnt work, it came up with an error sad.gif but thanks anyway

second: the AI doesnt have to throw the smoke grenade, just as long as the smoke appears...

anyway thanks for your help guys

EDIT:this is the error i get btw, after  a few tries with different things, it occured to me to take a screenshot

error.JPG

i know it says smokeshell but it originally it was a flare

Share this post


Link to post
Share on other sites

Try this:

Smoke = "SmokeShellGreen" camcreate [getpos marine1a select 0, getpos marine1a select 1]

Share this post


Link to post
Share on other sites

InqWiper: worked, thanks, thanks Bosun too, you were almost right.

cheers guys, helped alot biggrin.gif

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">thanks Bosun too, you were almost right.

<span id='postcolor'>

almost right.....that's kindof like gernades... tounge.gif

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  

×