Jump to content

Spawn npcs and objects to location help


skibo316

Recommended Posts

Hey everyone. Making a huge mod and its going well.

 

I need to figure out how to have the game spawn certain npcs and objects into the game at exact locations after a line of dialogue is spoken.

 

Any help would be appreciated.

Link to comment
Share on other sites

You could put the coding into result scripts on dialog or else in quest stage result scripts if the dialog has set the quest to a certain stage. The code would be sort of like this:

AAMyNPCorObjectREF.enable()

 

(Where you have placed the NPC or object into the world, checked the initially disabled box, and given the actor or object a Ref ID. For your script, you would need to initialize a property for the actor or object. After the script has compiled, you would need to set the script property to refer to your actor or object.)

Edited by David Brasher
Link to comment
Share on other sites

  • Recently Browsing   0 members

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