Jump to content

Are multiple OnQuestInit Events possible on a quest?


Recommended Posts

Yes if "Start Game Enabled" and "Run Once" is unchecked then OnQuestInit will fire twice. Use a Bool to lock the function:

Bool bRunOnce = FALSE

Event OnQuestInit()
If (bRunOnce == FALSE) 
  bRunOnce == TRUE
 ;do stuff
EndIf
EndEvent
Link to comment
Share on other sites

  On 4/19/2019 at 10:19 AM, Reginald001 said:

Trying to add multiple quest scripts.

Looks like only the first Quest script fire the 'OnQuestInit' event.

 

Can someone deny or confirm this behavior, before I spend another 12 hours of debugging?

Thanks!!

 

Thank you! I'll look into this.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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