Jump to content

Recommended Posts

Posted

If i test my quest from the beginning, from the clean save, my npc does not spawn? But it does spawn if the quest has already been started in the save game, if i test from a saved position that is?

 

Why?

Posted (edited)

Anyone?

 

I need to spawn an NPC after certain amount of time pass. So after my quest hits stage 40, then after 5 hours my NPC should spawn.

 

In Quest Stages - Papyrus Fragment i have:

 

  Quote
setObjectiveCompleted(30)
setObjectiveDisplayed(40)

RegisterForSingleUpdateGametime(5)

 

 

In the scripts tab of the quest window i have this:

 

  Quote
Scriptname MODVereena2Script extends Quest
ObjectReference Property SpawnMarker Auto
Event OnUpdateGameTime()
SpawnMarker.Enable()
EndEvent

 

 

I have connected my NPC to the xmarker through enable parent. Xmarker is set to initially disabled.
But it doesn't work?
Edited by Ancient76
Posted

I have changed it with ReferenceAlias and it works.

 

  Quote

 

ReferenceAlias Property SpawnMarker Auto

Event OnUpdateGameTime()
SpawnMarker.GetReference().Enable()
EndEvent
  • Recently Browsing   0 members

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