How do I make quest objective targets change based on player

Post » Thu Jun 21, 2012 3:23 am

Topic...

I am trying to make the targets for a quest objective change depending on what cell the player is in. Specifically, I want the marker for a single objective to point to the dungeon's entrance and then change to somewhere else when the player enters the dungeon.

I have already tried doing what the Mage's Guild book quest does with OnRef in the conditions, but that did not work for my quest. What do I need to set the conditionals to run on in order to be able to do what I want to do?

Thanks in advance.
User avatar
Marcin Tomkow
 
Posts: 3399
Joined: Sun Aug 05, 2007 12:31 pm

Post » Wed Jun 20, 2012 11:13 pm

I don't think there is a single script command, is there? (I couldn't find one, anyway).

So:

1. Make the "door" to your dungeon an Alias of your Quest
2. Make a New Stage for your Quest
3. Make a New Objective for your Quest (with your new target)
4. Tie the new objective to the new stage (so setstage does complete old objective and display new objective)
5. On the Door Alias, make a script and add an OnActivate Event to setstage to the new stage.


Someone else might know a more elegant way ;)
User avatar
Lucie H
 
Posts: 3276
Joined: Tue Mar 13, 2007 11:46 pm

Post » Thu Jun 21, 2012 12:41 am

I'm try to change the target aliases for just one objective. You can do that in the Quest Objectives tab by having more than one target alias and setting conditions for them. I'm just not sure how to properly set these conditions...
User avatar
Kat Lehmann
 
Posts: 3409
Joined: Tue Jun 27, 2006 6:24 am

Post » Thu Jun 21, 2012 7:19 am

Just add conditions to the quest markers using 'GetInCell' as the condition.
User avatar
Brittany Abner
 
Posts: 3401
Joined: Wed Oct 24, 2007 10:48 pm


Return to V - Skyrim