Making an NPC appear in player's home?

Post » Mon Nov 19, 2012 7:28 am

Hi, I'm trying to make an NPC appear inside player's home (Proudspire) with the following conditions:

- all the upgrades have been purchased;
- there is 50 per cent chance of the NPC appearing inside and triggering the scene once the player enters the house - I believe this can be solved by attaching a script with OnActivate() event on the door, however I have no clue how to condition this event to occur only when the house is fully decorated, and with a 50% chance. I would appreciate any clues.
User avatar
Rodney C
 
Posts: 3520
Joined: Sat Aug 18, 2007 12:54 am

Post » Mon Nov 19, 2012 3:05 pm

Start with the NPC disabled.

When all the upgrades have been purchased, enable the NPC. The AI package tells the NPC where to be and when.

OnActivate on the door? You mean when the player activates the door? I would probably make a trigger zone inside instead that check if the NPC should enable or not.
User avatar
SaVino GοΜ
 
Posts: 3360
Joined: Mon Sep 17, 2007 8:00 pm

Post » Mon Nov 19, 2012 9:23 pm

You can use the http://www.creationkit.com/Story_Manager change location event--conditioned with new location is Proudspire, GetRandomPercent > 50, plus whatever is needed to detect if all the upgrades are purchased (probably a quest stage?), you can then start a quest that moves your NPC to Proudspire's interior when the player enters.
User avatar
Sammygirl500
 
Posts: 3511
Joined: Wed Jun 14, 2006 4:46 pm

Post » Mon Nov 19, 2012 2:28 pm

Thanks for these suggestions. I guess it's time for me to start learning Story Manager.
User avatar
lucile davignon
 
Posts: 3375
Joined: Thu Mar 22, 2007 10:40 pm


Return to V - Skyrim