Jump to content

Recommended Posts

Hi all ! I make a mission and I want to have a stockage in a Box and a player can get this item by an Addaction, but if the item do not exist in the box he can't get it, or to have one object inventory for 2 object. Also I make this but that doesn't work, if anybody can help me ?

- the script : if (isNil "Weapon_arifle_AK12_F" inArea "Box_NATO_Equip_F) then { hint "bite" };

- the Addaction : this addaction ["Bouffe","bouffe.sqf"];  //used in the object  

Sorry i'm french also my english is not very good.

Share this post


Link to post
Share on other sites
if ("arifle_AK12_F" in (weaponCargo (_this # 0))) then { hint "bite"}; 

 

Share this post


Link to post
Share on other sites

Mhhh AK 12 is an exemple in the final script that will be an item and the addaction is not on the box is on a panel, also i don't now how to do

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

×