gunner9213 Posted January 16, 2013 Share Posted January 16, 2013 I want to try to make it where the NPCs have NCR trooper armor, but when relaxing, they wear regular clothing. Like When They are out standing guard, or doing things for the ncr they equip ncr armor, when on down time, they have regular clothing on. How would I script this? Any help would be most apprciated. Link to comment Share on other sites More sharing options...
Xaranth Posted January 16, 2013 Share Posted January 16, 2013 Short version: Set up a container for NPCs to keep 'guard' kit and 'chill out' kit. Use removeallitems to swap stuff back and forth based on alertstate and current packages. Link to comment Share on other sites More sharing options...
gunner9213 Posted January 16, 2013 Author Share Posted January 16, 2013 would it be possible to set up a script like someone comes in gives an order through dialogue, and use the result end scriptto have like Npc1REF.EquipItem Ncr trooper armor. Then upon completion of there patrol or whatever package, have them return to there barrack, and use something like Npc1Ref.RemoveItem Ncr trooper Armor, Equip outfit Merc5 . Or something along those lines? And thanks for all the help youve been giving me, I really Appreciate it. Link to comment Share on other sites More sharing options...
rotarydanimal Posted January 18, 2013 Share Posted January 18, 2013 (edited) Using the removeitem command destroys the item: GECK The items are destroyed - despite the name, they are not simply "removed" from the container and placed nearby. You will have to add the items you want to use before you equip them. This will give the character a new item everytime. That's why "Xaranth" mentioned using a container. You could then use code like this CharacterREF.removeallitems ContainerREF 1 1 and ContainerREF.removeallitems CharacterREF 1 1 which could be used in a result script. Edited January 18, 2013 by rotarydanimal Link to comment Share on other sites More sharing options...
DirectorKane Posted August 24, 2013 Share Posted August 24, 2013 (edited) Yes. there is a way... Step by Step 1. get the base id for the items you are working with (1.a. if you have little in your inventory you can toggle the console and target yourself and type "inv" ) (1.b.you can easily place all your gear in a random box/crate/safe then do 1.a.) 2. after getting your gear id's toggle the console 3. click the npc you are working with (3.a. make sure that the reference id is on the top of the screen) 4. with the console on and the reference id at the top type "additem <items-id> <quantity> <quality>" (4.a . they have to have the item in their inventory after all) 5. push enter (5.a. keep the console on) 6. with the console on and the reference id at the top type "equipitem <item-id> <quantity> <quality>" (6.a. this will force them to equip the item, not 100% sure, but I think its permanent <STILL IN TESTING>) 7. push enter 8. exit console and enjoy a modified npc... sorry if this doesn't help.. I've used this a few times. Edited August 24, 2013 by DirectorKane Link to comment Share on other sites More sharing options...
Recommended Posts