bboy 11 Posted July 18, 2010 i was searching and trying a bunch of things to do that... without result... I want to remove originally bacpack from the unit... Done! i want to put another backpack on the same unit... Done! Now i want to put some ammo in that backpack... not done... help please Share this post Link to post Share on other sites
shuko 59 Posted July 18, 2010 They are basically ammoboxes, so use the cargo commands: (unitBackpack this) addmagazinecargo ["magName",6]; (unitBackpack this) addweaponcargo ["gunName",1]; Share this post Link to post Share on other sites
bboy 11 Posted July 18, 2010 i tryed that to... nothing... cos' i did it something wrong probably... what is unitBackpack this? and to put just like this inside () ?! Share this post Link to post Share on other sites
shuko 59 Posted July 18, 2010 Well, instead of doing myAmmoBox add.., we get the unit's pack with that unibackpack this. Using "this" obviously means it's meant for unit's init field. Works with unitbackpack myUnitsName as well. Share this post Link to post Share on other sites
bboy 11 Posted July 18, 2010 my unit name is: g1 backpack name is: tripod_bag i want to put inside Magazine "Javelin" (unitBackpack this) addMagazineCargo ["Javelin", 1] nothing... write me if you can Share this post Link to post Share on other sites
kylania 568 Posted July 18, 2010 backpack name is: tripod_bag The Tripod Bag has no cargo, which is why the Javelin won't fit. It's just a tripod, nothing more. To see much how cargo can fit in each bag see my post here: http://forums.bistudio.com/showthread.php?t=103207 Share this post Link to post Share on other sites
bboy 11 Posted July 18, 2010 The Tripod Bag has no cargo, which is why the Javelin won't fit. It's just a tripod, nothing more.To see much how cargo can fit in each bag see my post here: http://forums.bistudio.com/showthread.php?t=103207 That's a shame, it's a nice bag for one Magazine of Javelin... Looks good! Thank you for the link Share this post Link to post Share on other sites
breeze 0 Posted July 18, 2010 Well it looks like those screen shots are paying off already kylania Share this post Link to post Share on other sites
CarlGustaffa 4 Posted July 19, 2010 That's a shame, it's a nice bag for one Magazine of Javelin... Looks good! Thank you for the link The AT variation of the coyote backpack is even better... It comes preloaded with two Javelins. Classname: US_Backpack_AT_EP1 Share this post Link to post Share on other sites
bboy 11 Posted July 19, 2010 The AT variation of the coyote backpack is even better... It comes preloaded with two Javelins. Classname: US_Backpack_AT_EP1 I already put that... I wannet also to put that from the Metis... don't know if i can... looks diferent for a change... Share this post Link to post Share on other sites
ziiip 1 Posted July 27, 2010 How can I spawn an existing backpack on a soldier? Share this post Link to post Share on other sites
ck-claw 1 Posted July 27, 2010 How can I spawn an existing backpack on a soldier? Try Here Share this post Link to post Share on other sites
ziiip 1 Posted July 27, 2010 Thats not good because it will spawn a brand new backpack. I need to spawn a backpac that I put on map and sync to UAV module.:) Share this post Link to post Share on other sites
ck-claw 1 Posted July 27, 2010 My bad-for once, i didnt actually read the whole thread! :D Share this post Link to post Share on other sites
CarlGustaffa 4 Posted July 27, 2010 Yeah, we need commands like backpackPutOn and backPackPutOff (or equivalent actions). Share this post Link to post Share on other sites
SigintArmA 10 Posted September 6, 2010 (edited) Thats not good because it will spawn a brand new backpack. I need to spawn a backpac that I put on map and sync to UAV module.:) Use this addBackpack "US_UAV_Pack_EP1"; backpack = unitBackPack this; UAV synchronizeObjectsAdd [backpack]; Where this = player in his init line and UAV is the name of the module. Sync the module to the UAV in flight and the player and you will be able to use the UAV anywhere you are standing. Edited September 6, 2010 by SigintArmA Share this post Link to post Share on other sites
kylania 568 Posted September 6, 2010 Yeah, we need commands like backpackPutOn and backPackPutOff (or equivalent actions). There are actions for TakeBag and PutBag now. :) Share this post Link to post Share on other sites
cyop 10 Posted September 6, 2010 Ooops, already answered. Share this post Link to post Share on other sites
CarlGustaffa 4 Posted September 6, 2010 I can get TakeBag to work with: player action ["TakeBag", term] but I can't seem to get PutBag to work. Share this post Link to post Share on other sites
kylania 568 Posted September 6, 2010 Maybe it's DropBag that works? My AI assemble demo had it. Edit: It's putBag http://forums.bistudio.com/showpost.php?p=1736958&postcount=4 Share this post Link to post Share on other sites
CarlGustaffa 4 Posted September 6, 2010 Oh, I see. I was using the bag, not the guy. Thanks. Share this post Link to post Share on other sites