jfraser Posted October 21, 2014 Posted October 21, 2014 This appears to be more of a general "get Skyrim to work" thread, but since I don't see a "modder's help" section, I'll post this here. I am making stories to go with the alternate starts in Live Another Life. I am working on the vampire start now. What I need is this: if the player chooses not to do what the vampires ask, i want them to turn hostile. but I can't get it to work. I removed the player from vampirefaction, b03vampirefaction (or something like that), vampirepcfaction, and even vampirethrallfaction, but the npc vampires remain relaxed and non-violent. There was also a function i found while trying to Google tor help that is supposed to make the player instantly hated or something like that, which also didn't work. Any ideas? Thanks.
Guest Plastrader Posted October 21, 2014 Posted October 21, 2014 There are three things you can try using scripts and one editing the faction itself(not recommended I guess) I don't know which one of these you did try, but have a look at: http://www.creationkit.com/SetEnemy_-_Faction pPlayerFaction.SetEnemy(pVampireFaction) http://www.creationkit.com/SetPlayerEnemy_-_Faction pVampireFaction.SetPlayerEnemy() http://www.creationkit.com/SetReaction_-_Faction pVampireFaction.SetReaction(pPlayerFaction, -242) I haven't tried these, but they should work and again they might not as some of the examples on the CK-wiki doesn't work But please try either of them, if they don't work, tell me and I'll dig into it(deeper) [edit] and yes, scripting questions go on this forum.
Veladarius Posted October 22, 2014 Posted October 22, 2014 If those don't work for whatever reason you can try this one: http://www.creationkit.com/StartCombat_-_Actor Function StartCombat(Actor akTarget) native
jfraser Posted October 22, 2014 Author Posted October 22, 2014 If those don't work for whatever reason you can try this one: http://www.creationkit.com/StartCombat_-_Actor Function StartCombat(Actor akTarget) native Thanks. Hopefully I'll be able to do these tonight.
jfraser Posted October 23, 2014 Author Posted October 23, 2014 There are three things you can try using scripts and one editing the faction itself(not recommended I guess) I don't know which one of these you did try, but have a look at: http://www.creationkit.com/SetEnemy_-_Faction pPlayerFaction.SetEnemy(pVampireFaction) http://www.creationkit.com/SetPlayerEnemy_-_Faction pVampireFaction.SetPlayerEnemy() http://www.creationkit.com/SetReaction_-_Faction pVampireFaction.SetReaction(pPlayerFaction, -242) I haven't tried these, but they should work and again they might not as some of the examples on the CK-wiki doesn't work But please try either of them, if they don't work, tell me and I'll dig into it(deeper) [edit] and yes, scripting questions go on this forum. One if these - I think it was the setplayerenemy() function - worked, thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.