zeppo Posted August 12, 2015 Report Share Posted August 12, 2015 if(_complete) then { [_crate,[8,ai_wep_sniper],[4,crate_tools_sniper],[4,crate_items_sniper],[2,crate_items_high_value],[10,crate_items_food],[10,crate_items_medical],[15,crate_items],2] call dynamic_crate; }; Only half is spawning any ideas? Link to comment Share on other sites More sharing options...
0 syco Posted August 13, 2015 Report Share Posted August 13, 2015 // Crate Spawn Example // Parameters: 0: _crate // 1: Max number of guns OR [MAX number of guns,gun_array] // 2: Max number of tools OR [MAX number of tools,tool_array] // 3: Max number of items OR [MAX number of items,item_array] // 4: Max number of backpacks OR [MAX number of backpacks,backpack_array] [_crate,16,[8,crate_tools_sniper],[3,crate_items_high_value],[4,crate_backpacks_large]] call dynamic_crate; You cant have [4,crate_items_sniper] + [2,crate_items_high_value] + [10,crate_items_food] + [10,crate_items_medical] + [15,crate_items] To many items.. must pick one only. So for yours to work you need something like this [_crate,[8,ai_wep_sniper],[4,crate_tools_sniper],[4,crate_items_sniper],2] call dynamic_crate; Link to comment Share on other sites More sharing options...
Question
zeppo
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now