Jump to content
Sign in to follow this  
GqchatarN

Starting with an RPG

Recommended Posts

Hello!

I Want to make a AI player start with the RPG in shooting position, how do i make this happen?:j:

Share this post


Link to post
Share on other sites

Okay thanks! Now i don't have to wait for retarded terrorists to grab their RPG!:D

Share this post


Link to post
Share on other sites

Though keep in mind they will switch back to rifle whenever they feel like it...

Share this post


Link to post
Share on other sites
removeallweapons this; this addmagazine "PGV7"; this addweapon "RPGV7"; this addmagazine "PGV7";

Share this post


Link to post
Share on other sites

When I try this with any kind of Launcher, the AI unit just stands there holding nothing, with the Launcher slug over their shoulder.

Tried putting the selectweapon in a trigger but still nothing :confused:

Share this post


Link to post
Share on other sites

Typo in the above post.

this addweapon "RPG7V"

Share this post


Link to post
Share on other sites

regardless of type, when i add rockets, and a launcher, it will not obey the selectWeapon command either.

maybe because it has no other weapons? try adding a rifle, and when selectedWeapon == the launcher, removeWeapon rifle..

Share this post


Link to post
Share on other sites

Yeah I noticed the typo in the RPG, BUT IT'S THE SAME WITH ANY LAUNCHER.

I will give Demonized suggestion a go.

I cannot find a selectedweapon command, only has weapon.

Anyway, I tried in the unit's init line

removeallweapons this; this addmagazine "Strela"; this addweapon "Strela"; this addmagazine "Strela"; this addmagazine "30Rnd_545x39_AK"; this addweapon "AK_107_kobra";

Then in a trigger

unitname removeweapon "AK_107_kobra";

which it still keeps the launcher on it's back while holding nothing, tried selectweapon but nothing, same with dotarget something, the only time I can get the unit to hold the launcher is when the order to fire at a target it knows about is given.

Edited by Koni

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  

×