daza 36 Posted July 18, 2014 I have a script is an addaction on the canteen object and its suppose to add it to the player inventory. This was one of the small objects included in an A3 update. I have tried the following: player addweapon "Land_Canteen_F"; and also player addItemToUniform "Land_Canteen_F"; and player addItem "Land_Canteen_F"; Its not working :( Unless the problem is there is no inventory icon image for these small objects that were added to arma from Dayz assets? and it has been added to the players inventory, just that you cannot see it in the inventory? could that be why? Share this post Link to post Share on other sites
Falloutperson416 10 Posted July 18, 2014 If you're referring to the canteen from Objects (Small), then sadly you cannot have this item in your inventory. It's just an object. Share this post Link to post Share on other sites
daza 36 Posted July 18, 2014 If you're referring to the canteen from Objects (Small), then sadly you cannot have this item in your inventory. It's just an object. Yeah im referring to that canteen from Objects (small). Well thats a shame :( Thanks for letting me know. Share this post Link to post Share on other sites
tpw 2315 Posted July 19, 2014 You could change your addaction so that when the player picked up the canteen it was deleted, and then set a variable on the player eg player setvariable ["daza_canteen",1]; . Then if the canteen is needed later on just check if the player has one: if (player getvariable [daza_canteen,0] == 1) then { "Land_Canteen_F" createvehicle getpos player; player setvariable ["daza_canteen",0]}; Share this post Link to post Share on other sites
manfredbaumann 10 Posted June 28, 2015 (edited) Amazing thread on adding canteen object to player list.... it was very useful for me... http://canteens.co†Edited June 29, 2015 by manfredbaumann Share this post Link to post Share on other sites