Search the Community
Showing results for tags 'acearsenal'.
Found 1 result
-
ACE Arsenal Check Inventory & Make availabe
Narsiph posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, i am starting with scripting and have some ideas and a point where i want to start. The basics to multiplayer scripting are known to me and i made a couple scripts already for the purpose what i wanted to have (a personal arsenal for people). We are a merc-based group and we really liked antistasi but it has too many flaws for us so i decided to finally start our merc-based campaign. Now i started with my roadmap for the arsenal: 01: Check the amount of loot/equipment in a specific box (!) 02: Add the specific items in the box to an ace-arsenal (!) 03: Check if the amount of items in the ace-arsenal exceeds 20 (!) 04: Make items, that exceed the amount 20, unlimited. (!) 05: Save all the data so it can be restored after a server-restart/restart (!?) (!) = Figured it out (?) = Still trying to figure it out (!?) = I know where to look for this. I discussed it already with a friend of mine and we decided to go with the 'while' to keep on checking a specific inventor, a box, called "merc_arsenal_box", either with a onaction activation on the arsenal-box, or with a sleep timer of roughly 15 minutes or so. Thats practically not really hard either way. But the real problem i face now is, that i am able to put stuff int he ace arsenal without problems - unlimited already. Thats one of the basic functions i can go. Put things in the ace arsenal already unlimited available. And i dont have a clue how i can achive the same, but with a limited availability like 19 items of weapon x. Do i oversee something, a function as example? Or does the ace arsenal not have any method of having a limited amount of items in it? Please dont post any working code, just directions where i should look and specific snippets (Example: Look on ace arsenal framework, the function fnc_thisisit_lookhere [1,2,3,4];) Thank you all in advance for your help & time Narsiph.