Detecting Player = Quest Fail (is this possible)

Post » Mon Nov 19, 2012 10:18 am

I was considering making a mod that makes a new area focused on stealth. Is there a way to add an "on detect" script or anything similar to that, so that on detect I can set it to go to a different Quest Stage to alternate how the quest will play out, as opposed to say the current thieves guild, wherein you get discovered and just murder the entire east empire company and no one bats an eyelash.

So are there any particular script commands that would help with this specific event?
User avatar
Bek Rideout
 
Posts: 3401
Joined: Fri Mar 02, 2007 7:00 pm

Post » Mon Nov 19, 2012 9:23 am

I think you could use the event http://www.creationkit.com/OnCombatStateChanged_-_Actor to detect if the player enters combat with the people around them. If it's a controlled environment with limited contact, you could place a script on the NPC's. If it's an open environment, you could perhaps place it on the player via alias.
User avatar
Andrew
 
Posts: 3521
Joined: Tue May 08, 2007 1:44 am

Post » Mon Nov 19, 2012 12:36 am

I think you could use the event http://www.creationkit.com/OnCombatStateChanged_-_Actor to detect if the player enters combat with the people around them. If it's a controlled environment with limited contact, you could place a script on the NPC's. If it's an open environment, you could perhaps place it on the player via alias.

Hm, sounds like a reasonable idea, but yeah it would only effect quests in a closed environment.

Essentially,, my intentions are to set up a city.designed around stealing, along with side areas that have specific stealing quests. In the open city getting into conflicts will not affect the quest, while inside the quest areas; it will heavily change the outcome of the quest if you are too obvious.
User avatar
Chantelle Walker
 
Posts: 3385
Joined: Mon Oct 16, 2006 5:56 am

Post » Mon Nov 19, 2012 1:24 pm

I haven't used it myself, but you could experiment with the http://www.creationkit.com/OnGainLOS_-_Form event. There's also an http://www.creationkit.com/IsDetectedBy_-_Actor boolean function that you could use in an update event.
User avatar
John N
 
Posts: 3458
Joined: Sun Aug 26, 2007 5:11 pm

Post » Mon Nov 19, 2012 2:03 am

I haven't used it myself, but you could experiment with the http://www.creationkit.com/OnGainLOS_-_Form event. There's also an http://www.creationkit.com/IsDetectedBy_-_Actor boolean function that you could use in an update event.

Oh wow, the LOS one might be perfect, assuming it works. Thanks.
User avatar
sunny lovett
 
Posts: 3388
Joined: Thu Dec 07, 2006 4:59 am


Return to V - Skyrim