Nightjay0044 1 Posted April 2, 2006 Hi, heres it what I have. A sniper with the name of "sniper1". How can I create an ammo box for him to rearm himself whenever he needs to? Thanks.. Share this post Link to post Share on other sites
karantan 0 Posted April 2, 2006 Is there no already an ammo crate in the editor from which the sniper can be rearmed? Share this post Link to post Share on other sites
Nightjay0044 1 Posted April 2, 2006 yes, i can create an ammo box, but will the AI sniper automaticlly rearm at the ammo box when he's out of ammo without putting any certain code in to get to recognize it to rearm? Share this post Link to post Share on other sites
Nightjay0044 1 Posted April 2, 2006 Okay maybe somehow you need to use the Rearm action. but how do you make it so that the enemy AI sniper detects that he is out of ammo and then rearm at a specific ammo crate? Share this post Link to post Share on other sites
pazuzu 21 Posted April 2, 2006 Chris's scripting editor comes with a nice rearm script. If you dont have it I can send to you, but I'll need an email address... Share this post Link to post Share on other sites
Nightjay0044 1 Posted April 2, 2006 Alright, yeah I found the script it's called Rearmeast.sqs Okay I have one east sniper named: sniper1..how do I get him to rearm to the ammo box with the script? Share this post Link to post Share on other sites
pazuzu 21 Posted April 3, 2006 The script just automatically replaces the magazines when the unit runs out. You have to put the right names for the magazines in the 2 triggers that are used to fire the script. The rearm.sqs file has step by step instructions inside it. Share this post Link to post Share on other sites