Reginald001 Posted April 19, 2019 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!!
SKKmods Posted April 19, 2019 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
Reginald001 Posted April 19, 2019 Author Posted April 19, 2019 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.
Recommended Posts