Jump to content
Ghost Recon.net Forums

Problem with "replenish inventory" command...


Recommended Posts

Hi , and happy new year , the best for all ! 

I came back to improve some missions i make ( or improve ) and i have a problem when i use "ammo box" for reload and the  "replenish inventory"  command ...it's work well with ammo ,AT rockets, frags ...but when the actor who have a kit with "bombs item" , go to the ammo box , he can  only "replenish" with only 1 bomb    !!!  (whatever the number of bombs in the kit) Thanks if anyone have an idea of the problem .🙂

 

Link to post
Share on other sites
  • 5 months later...

Thanks for your answer ! if i understand, it is better to use "assign kit" instead of "replenish inventory " command but this "replenish" command is more logical as you can conserve the weapons you have at the start of the mission ...too bad ,if nothing is possible to change ...

  • Like 1
Link to post
Share on other sites

Not really. There is no script function to query an actor‘s current kit, and the „refill“ command is the only way to restock any kit, albeit with the mentioned limitations. It depends on the item type listed in the kit file, the count is 1 for HandHeldItem (demo, claymore etc.), 6 for ThrownItem (hand grenades), and now that I think about it... I believe Firearm ammo is actually refilled correctly, i.e. according to kit file contents, it‘s just item count that is hardcoded. I may have spoken too soon in that previous post. 🙂

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...