Adding the cannabalism perkscript to a race?

Post » Mon Jun 18, 2012 7:01 am

I'm puttering around with a new race, along the line of ye olde flesh eating ghouls. Does anybody have a little advice on how I could manage to attach the cannibalism capability from the Ring of Namira to a race, as a natural capability?
User avatar
katsomaya Sanchez
 
Posts: 3368
Joined: Tue Jun 13, 2006 5:03 am

Post » Mon Jun 18, 2012 2:17 am

You'd need to create a custom spell effect with a script resembling this:
Scriptname CustomCannibalism extends ActiveMagicEffect Event OnEffectStart(Actor Target, Actor Caster)   Game.GetPlayer().AddPerk(DA11Cannibalism)endEvent
Then create a custom spell (Copying another Race's "Blood" ability would be easiest) and attach your custom magic effect onto it. Then attach that spell to your race as an ability.
User avatar
Phillip Hamilton
 
Posts: 3457
Joined: Wed Oct 10, 2007 3:07 pm


Return to V - Skyrim