Jump to content

How to make an NPC spawn at a certain time


Guest deleted43426342

Recommended Posts

Guest deleted43426342

How do you make NPC's spawn after you finished a quest? And how do you make an NPC disappear from the game after you picked a certain dialogue option? I know that Benny leaves the game if you give him a stealth boy and a bobby pin at the fort, so I want something like that.

 

Edit:

If this isn't an option how about only make an NPC say something with a specific companion? I know that some NPC's react to your companions, so how about that?

Edited by SoullessOfficeWorker
Link to comment
Share on other sites

If you know how to set up quest stages , and have the last one flagged as complete.

Then on that final stage in the "Result Script" field. You put a command line of "MyNpcRef.Enable"

Having placed your npc ref in the world already and flagging them as "Initially Disabled"

 

To make an npc dissapear after a dialogue line. In the Topic info at bottom in "Result Script (end) put "MyNpcRef.Disable"

 

But if you want them to walk away ... then disapear ... you put "MyNpcRef.AddPackage MyWalkAwayPackage" same place.

 

And in the AI Package on the "Begin/End/Change" tab ... Use the "On end" and in the "Result Script" Put "MyNpcRef.Disable"

 

An important point ... always hit "Compile Result" button after adding / changing anything in there ... every screen that has a result script.

Edited by Mktavish
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...