HideInLight Posted February 8, 2012 Share Posted February 8, 2012 The one follower I wanted to have as a companion is bugged and has been bothering me a lot. *Illia is a follower you can obtain from Darklight tower.*After you kill the boss on top of the tower, you can recruit her.*You can dismiss her and tell her to follow you with no problem, up until you save and load a game after you made her a follower. Heck lets see who can find the specific problem in the code first. Here's one of the Darklight scripts. ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 37 Scriptname QF_dunDarklightQST_0003FA89 Extends Quest Hidden ;BEGIN ALIAS PROPERTY BossHag ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_BossHag Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY DeadWitch ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_DeadWitch Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY dunDarklightHagravenKey ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_dunDarklightHagravenKey Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY Illia ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_Illia Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY Silvia ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_Silvia Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY dunDarklightDoorToConfrontation ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_dunDarklightDoorToConfrontation Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY dunDarklightBossChair ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_dunDarklightBossChair Auto ;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY BossWitch ;ALIAS PROPERTY TYPE referencealias referencealias Property Alias_BossWitch Auto ;END ALIAS PROPERTY ;BEGIN FRAGMENT Fragment_28 Function Fragment_28() ;BEGIN CODE alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_10 Function Fragment_10() ;BEGIN CODE ;Start final confrontation scene in DarklightTowerExterior02, set in Plan dialogue with Illia setObjectiveCompleted(10,1) setObjectiveDisplayed(20,1) dunDarklightConfrontationScene.start() alias_Illia.getActorReference().evaluatePackage() alias_dunDarklightDoorToConfrontation.getReference().Lock(false) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_17 Function Fragment_17() ;BEGIN CODE ;Set when Silvia dies, starts Illia forcegreet alias_Illia.getActorReference().evaluatePackage() setObjectiveCompleted(20,1) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_30 Function Fragment_30() ;BEGIN CODE ;Set if Illia dies before reaching the top of the tower setObjectiveFailed(10,1) setObjectiveDisplayed(20,1) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_21 Function Fragment_21() ;BEGIN CODE ;Set when the player pulls the lever in the first cell. Gives Illia target of locked door in second cell. alias_Illia.getActorReference().evaluatePackage() utility.wait(1) alias_Illia.getActorReference().evaluatePackage() utility.wait(1) alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_19 Function Fragment_19() ;BEGIN CODE ;Set when the player reaches the top of the second cell, allows Illia to start the plan scene alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_25 Function Fragment_25() ;BEGIN CODE ;End stage of quest, set in Illia's dialogue ;alias_Illia.getActorReference().setRelationshipRank(game.getPlayer(), 3) AchievementsQuest.IncSideQuests() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_23 Function Fragment_23() ;BEGIN CODE ;Set when the player unlocks the locked door on the golden path in the second cell. Gives Illia new target at top of tower. alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_4 Function Fragment_4() ;BEGIN CODE ;show scene before following dunDarklightIlliaRejectFollow.start() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_12 Function Fragment_12() ;BEGIN CODE ;Set in the confrontation scene, starts combat between illia and Silvia Actor Illia = Alias_Illia.GetReference() as Actor Actor Silvia = Alias_Silvia.GetReference() as Actor Illia.StartCombat(Silvia) Silvia.StartCombat(Illia) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_27 Function Fragment_27() ;BEGIN CODE alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_35 Function Fragment_35() ;BEGIN CODE ;Allows Illia to become a follower, sets her as friend alias_Illia.getActorReference().setRelationshipRank(game.getPlayer(), 3) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_0 Function Fragment_0() ;BEGIN CODE ;if you say yes to Illia or hit the trigger after saying no dunDarklightIlliaRejectFollow.stop() alias_Illia.getActorReference().evaluatePackage() alias_BossHag.getactorReference().disable() alias_BossWitch.getactorReference().disable() alias_Silvia.getactorReference().enable() setObjectiveDisplayed(10,1) ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_7 Function Fragment_7() ;BEGIN CODE ;If you say no to Illia ;END CODE EndFunction ;END FRAGMENT ;BEGIN FRAGMENT Fragment_32 Function Fragment_32() ;BEGIN CODE alias_Illia.getActorReference().evaluatePackage() ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment AchievementsScript Property AchievementsQuest Auto scene Property dunDarklightilliaRejectFollow Auto scene Property dunDarklightConfrontationScene Auto Link to comment Share on other sites More sharing options...
HideInLight Posted February 8, 2012 Author Share Posted February 8, 2012 Why does the editor text become green? Link to comment Share on other sites More sharing options...
EnterSevenSeven Posted February 8, 2012 Share Posted February 8, 2012 Why does the editor text become green? Remove the: ' The code tags consider it the beginning of a comment. Link to comment Share on other sites More sharing options...
HideInLight Posted February 8, 2012 Author Share Posted February 8, 2012 (edited) Misplaced semi colon (for commenting) bugging her? ;End stage of quest, set in Illia's dialogue ;alias_Illia.getActorReference().setRelationshipRank(game.getPlayer(), 3) should be:;End stage of quest, set in Illias dialogue alias_Illia.getActorReference().setRelationshipRank(game.getPlayer(), 3) Unfortunately I have no idea how to make a mod out of it yet. If anyone wants to see if Illia works by removing that semi-colon go ahead. To find the line that needs editing.Open up the creation kt, under the gameplay tab and choose papyrus manager.*Filter for "darklight"*Choose the QF_dunDarklightQSt file Edited February 8, 2012 by HideInLight Link to comment Share on other sites More sharing options...
Recommended Posts