kitkins13 Posted May 31, 2019 Share Posted May 31, 2019 So I've been playing with the CK lately, and I'm trying to get a simple quest going. Basically what I'm after is: Read note --> Enter tomb --> Fight boss --> Loot item --> Success! I've figured out most of it, but is there a way to get the quest to update/display a new objective after the player enters the tomb, but before doing anything else? I'm thinking something similar to the vanilla house purchase, where you get the misc quest to visit your new home, then when you enter the house for the first time it completes. Link to comment Share on other sites More sharing options...
maxarturo Posted June 1, 2019 Share Posted June 1, 2019 There are two ways you can do this.1) Add to your quest a script that when the Player (PlayerRef) enters the tomb (OnCellAttach or OnCellLoad) will "set stage".2) Probably the easiest, make a trigger box in your cell just in front of the door's teleport marker and add to it a script that "OnTriggerEnter" will set stage. This are the default vanilla script you can use:defaultsetMultiStageAliasScriptThis script will set the specified stage (2 possible) if the owning quest is at the specified stage (2 possible) when the alias is activated, dies, is hit, or the trigger is entered - depending on a property set. The script will then go to a state wherein nothing will happen in any of those events. This script will only work for Reference Aliases. defaultSetStageActorRefScriptThis script will set the specified stage on the specified quest (with optional prerequisite stage) if the proper event is called on the actor. Possible events are OnActivate, OnDeath, OnHit, OnTriggerEnter, OnEquipped, OnCombatBegin, OnCellLoad, self added to player inventory, self removed from player inventory, OnOpen, or OnRead. defaultsetStageAliasScriptThis script will set the specified stage on the specified quest (with optional prerequisite stage) if the proper event is called on the alias. Possible events are OnActivate, OnDeath, OnHit, OnTriggerEnter, OnEquipped, OnCombatBegin, OnCellLoad, self added to player inventory, self removed from player inventory, OnOpen, or OnRead. Only works for Reference Aliases. defaultSetStageOnEnterThis script will set a stage on the specified quest when the specified reference(s) are in the triggerbox. This will only work on triggerboxes. defaultSetStageOnLoadThis script will set the specified stage on the specified quest when the object's 3D is loaded,. defaultsetStageTrigSCRIPTThis script will set the specified stage on the specified quest when the trigger is entered. This only works on triggerboxes. I.e. setting a stage when you enter a maze. defaultSetStageTRIGSpecificActorThis script will set the specified stage on the specified quest when the trigger is entered by a specific actor. This only works on triggerboxes. I.e. setting a stage when you enter a maze. * Avoid using "Notes" to set stages (SetStageOnRead), they don't always work correctly, instead use "Journals". Link to comment Share on other sites More sharing options...
kitkins13 Posted June 1, 2019 Author Share Posted June 1, 2019 Thanks, been trying to work this out for a while now. Used the defaultSetStageOnEnter triggerbox and it's working perfectly :thumbsup: thanks again for your help! Link to comment Share on other sites More sharing options...
Recommended Posts