Jump to content
Sign in to follow this  
pres1ige

ace_cargo_fnc_loadItem

Recommended Posts

Team, I'm trying to use the "ace_cargo_fnc_loadItem" within the init of several crates to have them pre-loaded into some vehicles at mission start. I've narrowed down one issue (whereby the crates have to be within a certain distance of the target vehicle) but cannot understand why one vehicle will load 4 crates and the others will only load 2. I've confirmed that there is sufficient cargo space to load the additional crates within each of the target vehicles, I've ensured that each of the crates can be loaded in isolation (eliminating a conflict between crate type and target vehicle) and gone over and over the code. Below are links to some images that will hopefully clarify what I'm talking about. Has anyone else encountered this problem with ace? If so, did you find a solution at all?

Script that I'm using is placed in the "init" of each cargo crate and reads as follows:

[variable of cargo, variable of target vehicle] call ace_cargo_fnc_loadItem 

BqwTvw0.jpg - editor
S4zKKTl.jpg - In-game
8Fv9jMB.jpg - ace interact

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  

×