Jump to content
Taylor1984

Check if backpack is inside weaponholder

Recommended Posts

Hi

 

I would like to check if a specific backpack is on the ground (I guess inside a weaponholder) and have an AI pick up that backpack. I suppose you would use nearestobjects and count the amount of backpacks within the closest weaponholder or something. I know how to find out whether a backpack is inside a crate using 

{_x == _backpack} count backpackcargo _crate >= 1

but I don't understand how to do this with the closest weaponholder.

 

 

Cheers

 

I'm sorry, I didn't search the forums well enough since I found a solution: https://forums.bohemia.net/forums/topic/160050-make-ai-pick-up-backpack-from-ground/

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

×