gulogulo Posted June 25, 2012 Share Posted June 25, 2012 Hi, I want to detect if current NPC is vampire/werewolf. I tried to use condition HasSpell(VampireVampirism) and HasSpell(WerewolfImmunity), but no results. Any idea? Link to comment Share on other sites More sharing options...
steve40 Posted June 25, 2012 Share Posted June 25, 2012 (edited) Race Property WerewolfRace autoReferenceAlias Property myRef auto....myRef.GetActorReference().GetActorBase().GetRace() == WerewolfRace Edited June 25, 2012 by steve40 Link to comment Share on other sites More sharing options...
gulogulo Posted June 25, 2012 Author Share Posted June 25, 2012 Race Property WerewolfRace autoReferenceAlias Property myRef auto....myRef.GetActorReference().GetActorBase().GetRace() == WerewolfRace Right, but I want to detect werewolves in human/mer form. Also I wonder if there is any way to detect vampires without strolling through all vampire races. Link to comment Share on other sites More sharing options...
gulogulo Posted June 25, 2012 Author Share Posted June 25, 2012 Bump Link to comment Share on other sites More sharing options...
steve40 Posted June 26, 2012 Share Posted June 26, 2012 (edited) ScriptName VampireQuestScript extends Quest Conditional ;Variable to track if the player is a vampire ;0 = Not a Vampire ;1 = Vampire ;2 = Vampire Mid-Point ;3 = Full Vampire Int Property VampireStatus Auto Conditional ScriptName PlayerVampireQuestScript extends Quest Conditional ;Variable to track if the player is a vampire ;0 = Not a Vampire ;1 = Vampire ;2 = Vampire Stage 2 ;3 = Vampire Stage 3 ;4 = Vampire Stage 4 Int Property VampireStatus Auto Conditional ps. afaik the vampire disease is called "PorphyricHemophelia". You should test for this, not the spell. ps2. you could always test if the npc belongs to "WerewolfFaction". ps3: here's another method: check for keywords Keyword Property VampireKeyword auto . . if myactor.HasKeyword(VampireKeyword) . ps4. there could well be some global variables too. You could check them out in the CK. ps5. you could also test for the presence of "PlayerWerewolfFeed" perk. plus while in werewolf form they would be wearing a "WolfSkinFXArmor". So when not in wolf form, they wouldn't be wearing this armor :) Edited June 26, 2012 by steve40 Link to comment Share on other sites More sharing options...
gulogulo Posted June 26, 2012 Author Share Posted June 26, 2012 ScriptName VampireQuestScript extends Quest Conditional ;Variable to track if the player is a vampire ;0 = Not a Vampire ;1 = Vampire ;2 = Vampire Mid-Point ;3 = Full Vampire Int Property VampireStatus Auto Conditional ScriptName PlayerVampireQuestScript extends Quest Conditional ;Variable to track if the player is a vampire ;0 = Not a Vampire ;1 = Vampire ;2 = Vampire Stage 2 ;3 = Vampire Stage 3 ;4 = Vampire Stage 4 Int Property VampireStatus Auto Conditional ps. afaik the vampire disease is called "PorphyricHemophelia". You should test for this, not the spell. ps2. you could always test if the npc belongs to "WerewolfFaction". ps3: here's another method: check for keywords Keyword Property VampireKeyword auto . . if myactor.HasKeyword(VampireKeyword) . ps4. there could well be some global variables too. You could check them out in the CK. ps5. you could also test for the presence of "PlayerWerewolfFeed" perk. plus while in werewolf form they would be wearing a "WolfSkinFXArmor". So when not in wolf form, they wouldn't be wearing this armor :) A failure. Factions doesnt work. Anyway thanks for the ideas. Only checking through all vampire races works and that means I can only sense vampires. Anyway thanks for the ideas. They were promising. Link to comment Share on other sites More sharing options...
DreamKingMods Posted June 26, 2012 Share Posted June 26, 2012 For werewolves, the CompanionsHousekeepingScript attached to the C00 quest has the boolean variable "PlayerHasBeastBlood" that you can test. Link to comment Share on other sites More sharing options...
gulogulo Posted June 26, 2012 Author Share Posted June 26, 2012 For werewolves, the CompanionsHousekeepingScript attached to the C00 quest has the boolean variable "PlayerHasBeastBlood" that you can test. Nice, but I want detect if another actor is a werewolf and not the player. Its for smell ability. Link to comment Share on other sites More sharing options...
DreamKingMods Posted June 26, 2012 Share Posted June 26, 2012 Ah, sorry, I should have read more carefully. I don't know if detecting whether an NPC is a werewolf is possible. I don't think so: the transformations I've seen in the game have all been completely scripted. Link to comment Share on other sites More sharing options...
gulogulo Posted June 26, 2012 Author Share Posted June 26, 2012 Ah, sorry, I should have read more carefully. I don't know if detecting whether an NPC is a werewolf is possible. I don't think so: the transformations I've seen in the game have all been completely scripted. Then I will do without it. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts