Reginald001 Posted April 19, 2019 Share Posted April 19, 2019 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!! Link to comment Share on other sites More sharing options...
SKKmods Posted April 19, 2019 Share Posted April 19, 2019 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 More sharing options...
Reginald001 Posted April 19, 2019 Author Share Posted April 19, 2019 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 More sharing options...
Recommended Posts