Cuttingmountain Posted November 23, 2020 Share Posted November 23, 2020 I am trying to do a batch file that removes the inventory for a Target ID, replaces the inventory with what I want them to carry, then equips the new inventory items. Something is malfunctioning. When I run the batch file, I get the following: Areas with the original inventory turn invisible;Replacement items are not equipping;Random leather types are in inventory;NPC is reverting to original apparel.----------------------------------------------------------------------- ;BATCH NAME: Equip Minuteman;PURPOSE: Standardize Minuteman loadout and initial weapons.;COMMENT: Will provide Target ID with a Minuteman Outfit, a Minuteman Hat, a pair of Patrolman Sunglasses, a set of Leather Armor, a Laser Musket, a Fragmentation Grenade, and one of each ammunition type. ;START BATCH------------------------------- ;Clear target inventory taiunequipallremoveAllItems ;END SECTION-------------------------------- ;Place apparel in target ID inventory ;Minuteman Outfitadditem 000E517B ;Leather Armor setadditem 0007b9c6additem 0007b9c5additem 0007b9c4additem 0007b9c3additem 0007b9c7 ;Minuteman Hatadditem 000316D4 ;Patrolman Sunglassesadditem 001738aa ;END SECTION-------------------------------- ;Weapons ;Minuteman Laser Musketadditem 0001DACF ;END SECTION-------------------------------- ;Equip apparel in target ID inventory ;Minuteman Outfit;equipitem 000E517B ;Leather Armor setequipitem 0007b9c6equipitem 0007b9c5equipitem 0007b9c4equipitem 0007b9c3equipitem 0007b9c7 ;Minuteman Hatequipitem 000316D4 ;Patrolman Sunglassesequipitem 001738aa ;END SECTION-------------------------------- ;Weapons ;Minuteman Laser Musketadditem 0001DACFequipitem 0001DACF ;END SECTION-------------------------------- ;NPC Ammunition additem 0001f66badditem 0004ce87additem 0009221cadditem 0001f66aadditem 0001f279additem 0001f66cadditem 0001f278additem 0001f276additem 0001f673additem 0018abdfadditem 0001dbb7additem 000c1897additem 000df279additem 0018abe2additem 000cac78additem 000fe269additem 03010b80additem 0302c8b1additem 00245D69additem 001025AAadditem 000FD11Cadditem 00245D68additem 00075FE4additem 000eebed ;END SECTION-------------------------------- wait 10 tai;Check actor inventoryopenactorcontainer 1 ;END BATCH----------------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts