TheBlob2 Posted February 4, 2015 Share Posted February 4, 2015 ive been trying to give an npc a perk using a script, but it doesnt seem to be working. what gives? Link to comment Share on other sites More sharing options...
Jojash Posted February 4, 2015 Share Posted February 4, 2015 Only the player can be affected by perks. It is impossible to give an NPC a perk. The closest you can do is give them some sort of actor effect. Link to comment Share on other sites More sharing options...
TheBlob2 Posted February 4, 2015 Author Share Posted February 4, 2015 is there a way to convert a perk's functions into a script format? because ive spent a good few hours making a perk with complicated conditions and effects assuming that i could put it on npcs, i feel like i wasted a ton of my time Link to comment Share on other sites More sharing options...
Jojash Posted February 4, 2015 Share Posted February 4, 2015 You may well be able to, but not all effects that can be added by a perk can also be added by an actor effect as far as I'm aware. For example, I don't believe that you can affect gun spread with an actor effect, while a perk can allow you to adjust it as you please. Anyway, to convert the functions of your perk you'd have to just write a script that does what the perk already does, then attach it to a base effect and attach that to an actor effect that you'd then add to the NPC. Link to comment Share on other sites More sharing options...
TheBlob2 Posted February 4, 2015 Author Share Posted February 4, 2015 there are so many different things only perks can accomplish. i mean why would the devs not allow you to put perks on npcs in the first place?! i mean why would anyone use scripts when they can just put perks that do the same thing more efficiently, are less resource intensive, and are easier to make?! Link to comment Share on other sites More sharing options...
Raygereio Posted February 6, 2015 Share Posted February 6, 2015 You can actually put perks on companion NPCs with:"player.addperk <perkid> 1" Link to comment Share on other sites More sharing options...
TheBlob2 Posted February 6, 2015 Author Share Posted February 6, 2015 this may seem like a crazy idea, but a way to make all npcs in the same cell as the player companions, but they dont actually follow you Link to comment Share on other sites More sharing options...
Recommended Posts