Jump to content
dlegion

ACE3 add more spare parts ?

Recommended Posts

hello guys, i searched a bit but found nothing about adding more spare parts on vehicles with ACE3 mod,
right now it adds only 1 wheel or spare track for every vehicle, i wish to add some more to each vehicle, and i cant do manually because they are randomly spawned.
in ACE3 addon menu, under logistic, i just found the checkbox for "add spare parts", but no way to set a number or customize it somehow.
thanks for any tips!
 

Share this post


Link to post
Share on other sites

You can use:

 [_vehicle, 2, "ACE_Track", true] call ace_repair_fnc_addSpareParts;
 [_vehicle, 8, "ACE_Wheel", true] call ace_repair_fnc_addSpareParts;

where _vehicle is name of vehicle

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
On 5/20/2019 at 11:11 AM, Grenadier ITF said:

hello, if I want to know what is present in vehicle how spare parts. How can I do? thank you

 

you can get items in ACE cargo and then filter them by class

_items = _vehicle getVariable ["ACE_cargo_loaded", []]; // returns array

 

  • Like 1

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

×