-
Posts
9 -
Joined
-
Last visited
Nexus Mods Profile
About thisisheffner

thisisheffner's Achievements
-
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
Alas, even setting the follower to those factions doesn't appear to work...I wish I knew more about scripting so that I could contribute more, but I do appreciate both of yours both. :) Here is the script as it stands currently: Scriptname FollowerWerewolfTransformAliasScript extends Actor SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto race property secondaryrace 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.4) werewolfchangefx.cast(actorproperty) actorproperty.setrace(secondaryrace) 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 (ActorHealth2 >= 0.9) actorproperty.setrace(raceyouwant) actorproperty.SetRelationshipRank(Game.GetPlayer(), 3) actorproperty.SetFactionRank(PlayerFaction, 1) actorproperty.RemoveFromFaction(WerewolfFaction) unregisterforupdate() endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
I made some more changes to the script only now he'll change in to werewolf form and just stand there. Enemies won't target him nor will he target them...this is what I came up with after perusing the CK wiki. Thoughts on what to do? SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto race property secondaryrace 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.4) werewolfchangefx.cast(actorproperty) actorproperty.setrace(secondaryrace) actorproperty.SetRelationshipRank(Game.GetPlayer(), 3) registerforupdate(3.0) endif EndEvent event onupdate() float ActorHealth2 = actorproperty.GetAVPercentage("Health") if (ActorHealth2 >= 0.9) actorproperty.setrace(raceyouwant) actorproperty.SetRelationshipRank(Game.GetPlayer(), 3) unregisterforupdate() endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
Sorry for the delay in response. A short vacation kept my attention. Alas, even when applied to an earlier save, the script doesn't appear to have changed the same problem I have been having. Should I extend the wait time after the transformation? This is where the script currently stands: Scriptname FollowerWerewolfTransformAliasScript extends Actor SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto race property secondaryrace auto Event OnCombatStateChanged(Actor akTarget, int aeCombatState) if (aeCombatState == 0) actorproperty.setrace(raceyouwant) unregisterforupdate() elseif (aeCombatState == 1) registerforupdate(3.0) endif endevent event onupdate() float ActorHealth2 = actorproperty.GetAVPercentage("Health") if (ActorHealth2 < 0.4) werewolfchangefx.cast(actorproperty) Utility.Wait(3.0) actorproperty.setrace(secondaryrace) unregisterforupdate() endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
Sorry to repost, but I could really use some help. No matter what I do to the script, I still get the same issue where my follow transforms but then instantly shifts back to his Wood Elf race, just with the skeleton of the werewolf. This is the latest edition of my script. Please help, if you can. Scriptname FollowerWerewolfTransformAliasScript extends Actor SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto Event OnCombatStateChanged(Actor akTarget, int aeCombatState) if (aeCombatState == 0) actorproperty.setrace(raceyouwant) unregisterforupdate() elseif (aeCombatState == 1) registerforupdate(1.5) endif endevent event onupdate() float ActorHealth2 = actorproperty.GetAVPercentage("Health") if (ActorHealth2 < 0.4) werewolfchangefx.cast(actorproperty) Utility.Wait(30) unregisterforupdate() endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
No, the follower is just a standard Wood Elf male. The only special thing about him is that I wanted him to be able to go werewolf when low of health... Thank you anyways for all of your assistance, @Darren83 :). Does anyone else have ideas? -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
I don't know if I did it correctly, as I still have that issue. This is what the script looks like: Scriptname FollowerWerewolfTransformAliasScript extends ObjectReference SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto event onupdate() float ActorHealth2 = actorproperty.GetAVPercentage("Health") if (ActorHealth2 < 0.5) werewolfchangefx.cast(self) RegisterForAnimationEvent(actorproperty, "SetRace") unregisterforupdate() endif endevent Event OnCombatStateChanged(Actor akTarget, int aeCombatState) if (aeCombatState == 0) actorproperty.setrace(raceyouwant) RegisterForAnimationEvent(actorproperty, "SetRace") unregisterforupdate() elseif (aeCombatState == 1) registerforupdate(3.0) endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
Thank you @Darren83 for the assistance. I made some minor modifications to the script below. I am running into an error where the follower will transform into a werewolf at the correct health marker, but then becomes stuck and reverts to a version of his wood elf form, just with the skeleton of the werewolf (meaning hunched with elongated limbs). I don't know if that's related to the script or the WerewolfChangeFX... The script I use us: Scriptname FollowerWerewolfTransformAliasScript extends ObjectReference SPELL Property WerewolfChangeFX Auto Actor Property actorproperty Auto race property raceyouwant auto event onupdate() float ActorHealth2 = actorproperty.GetAVPercentage("Health") if (ActorHealth2 < 0.5) werewolfchangefx.cast(self) unregisterforupdate() endif endevent Event OnCombatStateChanged(Actor akTarget, int aeCombatState) if (aeCombatState == 0) actorproperty.setrace(raceyouwant) unregisterforupdate() elseif (aeCombatState == 1) registerforupdate(3.0) endif endevent -
Scripting Help: Werewolf Follower Transformations
thisisheffner replied to thisisheffner's topic in Skyrim's Skyrim LE
Thank you for your response. :) A big issue for me is, no matter which in game script I use (DLC2TribalWerebearScript, DLC2WEWerewolfTransformAliasScript, etc.), the follower gets stuck indefinitely as a werewolf. May I ask what AFT stands for? -
Scripting Help: Werewolf Follower Transformations
thisisheffner posted a topic in Skyrim's Skyrim LE
Greetings, I am pretty new to the modding scene and in the process of creating a custom follower. While most aspects of the Creation Kit are easy enough for me, scripting has proven to be a challenge. What I want my follower to do is, when he hits 30% health, to transform into a werewolf, and then, when combat has ended, to revert back to his wood elf form. The game has scripts for NPCs to transform into werewolves, but none that I understand allow for transforming back to human (or mer) form. Can anyone guide me in right direction? I don't have a base script of my own even.