If you don't want the waiting dismissal part, remove all code between and including Event OnUpdateGameTime and EndEvent for OnUnload. don't set count to 0 if Companions have replaced followerĪfter your alias has been setup, create a new script and use the following as a template (a new script on the alias): HirelingRehireScript.DismissHireling(DismissedFollowerActor.GetActorBase()) If FollowerAlias & FollowerAlias.GetActorReference().IsDead() = FalseįollowerDismissMessageCompanionsMale.Show()įollowerDismissMessageCompanionsFemale.Show()Īctor DismissedFollowerActor = FollowerAlias.GetActorRef() as ActorĭismissedFollowerActor.AddToFaction(DismissedFollowerFaction)ĭismissedFollowerActor.SetPlayerTeammate(false)ĭismissedFollowerActor.RemoveFromFaction(CurrentHireling)ĭismissedFollowerActor.SetActorValue("WaitingForPlayer", 0) SetObjectiveDisplayed(10, abdisplayed = false)įunction DismissFollower(Int iMessage = 0, Int iSayLine = 1) SetObjectiveDisplayed(10, abforce = true)įollowerAlias.RegisterForSingleUpdateGameTime(72)įollowerActor.SetActorValue("WaitingForPlayer", 0) FollowerActor.SetActorValue("Morality", 0)Īctor FollowerActor = FollowerAlias.GetActorRef() as ActorįollowerActor.SetActorValue("WaitingForPlayer", 1) If FollowerActor.GetRelationshipRank(PlayerREF) = 0įollowerActor.SetRelationshipRank(PlayerREF, 3) Int Property iFollowerDismiss Auto Conditionalįunction SetFollower(ObjectReference FollowerRef)Īctor FollowerActor = FollowerRef as ActorįollowerActor.RemoveFromFaction(DismissedFollowerFaction) Property to tell follower to say dismissal line SetHirelingRehire Property HirelingRehireScript Auto Message Property FollowerDismissMessageWait Auto Message Property FollowerDismissMessageCompanionsFemale Auto Message Property FollowerDismissMessageCompanionsMale Auto Message Property FollowerDismissMessageCompanions Auto Message Property FollowerDismissMessageWedding Auto Message Property FollowerDismissMessage Auto ReferenceAlias Property FollowerAlias Autoįaction Property DismissedFollowerFaction Auto Scriptname JacJasmineDialogQuestScript extends Quest If you don't want the follower to dismiss after 3 days, remove the line that RegisterForSingleUpdateGameTime()s in the Function FollowerWait(). You can use the following as a template, adjusting to fit your mod as necessary: The Quest Name doesn't matter as the player will be unable to see it.Īfter you’ve closed and re-opened your quest, click on the scripts tab and create a new script. But the bulk of his dialog is contained in the JacMorteDialogQuest shown in Figure 2. He also has different quests for various conversations he has with female followers. For example, Morte has a separate quest for when the player first meets him because he force greets the player. It’s a good idea to group all of your follower’s quests together because while this quest will handle most of your follower’s dialog, you may want to create separate ones for different occasions. The Object Window Filter JacMorteDialogQuest\ means that this quest will appear under Character->Quest->JacMorteDialogQuest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |