Jump to content

Need help with custom follower for Skyrim SE


SouthernWolfy

Recommended Posts

I have been working on a custom follower for Skyrim SE for some time and I have run into a few issues.

 

1. She has a leveled familiar what will be changed to red glow instead the vanilla blueish. I used the vampiric drain for the hand effect and the FX for Kodlak's "Wolf Spirit" from Glory of the Dead to replace the blueish glow. Now, the problem is I can not figure out how to change the area summon effect (summontargetfx.nif) to match. Supposed to be able to do it in Photoshop but it loads some sort of 3D model.

 

2. She will be using bound bow and swords. I added 2 bound mystic swords and bound mystic bow weapons directly into her inventory. The swords work seemingly perfectly, the bow however, is being stubborn. The bow goes away when she sheathes and switches to her swords it but stays if she stays with the bow when sheathed out of combat. The bound bow has a script attached to its linked magic effect. I took that script and added it to her actor sheet. ,but it looks like its supposed to add and remove bound arrows as well. It does not and she uses any arrow such as iron or steel. I am thinking if I change caster.-------- to actor.-------- or the her name "Lolia" it might work, I don't know.

 

3. I want her to become a werewolf at roughly 15% health and change back after about 10 seconds. I found a script while searching this site. It seems work for the most part, but she tries to equip spells and just stands around. However, sometimes she changes and does not have spells equipped she goes and slaughters badies. She made off the vanilla Breton

 

This is the script that I am using currently. Its set to actor health 0.99 for testing and player get combat state 0 for changing back. I am pretty lost when it comes to scripting and programming. Any help with my issues will be greatly appreciated.

 

Scriptname LoliaWerewolfChanger extends Actor
SPELL Property WerewolfChangeFX Auto
SPELL Property DLC1RevertForm Auto
Actor Property actorproperty Auto
race property raceyouwant auto
Faction property WerewolfFaction auto
Faction property PlayerFaction auto
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
float ActorHealth2 = actorproperty.GetAVPercentage("Health")
if (ActorHealth2 < 0.99)
werewolfchangefx.cast(actorproperty)
actorproperty.SetRelationshipRank(Game.GetPlayer(), 3)
actorproperty.SetFactionRank(WerewolfFaction, 1)
actorproperty.SetFactionRank(PlayerFaction, 1)
registerforupdate(3.0)
endif
EndEvent
event onupdate()
float ActorHealth2 = actorproperty.GetAVPercentage("Health")
if (Game.GetPlayer().GetCombatState() == 0)
DLC1RevertForm.cast(actorproperty)
actorproperty.setrace(raceyouwant)
actorproperty.SetRelationshipRank(Game.GetPlayer(), 3)
actorproperty.SetFactionRank(PlayerFaction, 1)
actorproperty.RemoveFromFaction(WerewolfFaction)
unregisterforupdate()
endif
endevent
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...