Can NPCs have perks?

Post » Sat Mar 20, 2010 9:01 pm

OK according to the wiki:

http://geck.gamesas.com/index.php/AddPerk

You can give perks to NPCs. However I currently have a script to walk through the actors in a cell and give them a perk. I am checking to see if they already have it by using the "tempRef.HasPerk xxxx" but it always comes back as false. I even added a damage health over time which does massive damage and kills me if I add it to myself but does nothing for NPCs.

Can you add perks to NPCs?
User avatar
Genevieve
 
Posts: 3424
Joined: Sun Aug 13, 2006 4:22 pm

Post » Sun Mar 21, 2010 8:00 am

I don't know for certain whether or not NPCs can have perks, but they definitely don't work for NPCs. If you want to store some data on an actor, just use a token. If you want the functionality of a perk, you'll need to find another way to implement it.

Cipscis
User avatar
matt
 
Posts: 3267
Joined: Wed May 30, 2007 10:17 am

Post » Sun Mar 21, 2010 6:12 am

There was a mod that added perks to creatures. Although I'm not sure if the effects were faked and made through a script.
User avatar
Nick Swan
 
Posts: 3511
Joined: Sat Dec 01, 2007 1:34 pm

Post » Sun Mar 21, 2010 11:54 am

Hmm. I added the toughness perk to some NPCs and I swear they took less damage/required more hits to kill than equivalent ones without the perk. But I didn't do an indepth study.
User avatar
Dagan Wilkin
 
Posts: 3352
Joined: Fri Apr 27, 2007 4:20 am

Post » Sun Mar 21, 2010 3:45 am

You can add, remove, and test for the presence of a perk on NPCs. The entry points have no effect, though.
User avatar
WTW
 
Posts: 3313
Joined: Wed May 30, 2007 7:48 pm


Return to Fallout 3