Talk:OnReset - ObjectReference: Difference between revisions

Jump to navigation Jump to search
imported>Taleden
imported>Arthmoor
Line 4: Line 4:


Those contradictory notes bothered me too, so I tested it; as of 2012-12-15, running Quest.Stop() and Quest.Start() does NOT trigger Quest.OnReset(). Quest.Start() DOES however trigger Quest.OnInit(), at which time Quest.IsStarting()=FALSE and Quest.IsRunning()=TRUE (although perhaps that's a race condition and it might happen the other way? Not sure). When a new game first loads, Quest.OnInit() is also triggered, but at that time Quest.IsRunning()=FALSE. [[User:Taleden|Taleden]] ([[User talk:Taleden|talk]]) 10:56, 15 December 2012 (EST)
Those contradictory notes bothered me too, so I tested it; as of 2012-12-15, running Quest.Stop() and Quest.Start() does NOT trigger Quest.OnReset(). Quest.Start() DOES however trigger Quest.OnInit(), at which time Quest.IsStarting()=FALSE and Quest.IsRunning()=TRUE (although perhaps that's a race condition and it might happen the other way? Not sure). When a new game first loads, Quest.OnInit() is also triggered, but at that time Quest.IsRunning()=FALSE. [[User:Taleden|Taleden]] ([[User talk:Taleden|talk]]) 10:56, 15 December 2012 (EST)
I'd hardly be surprised that it doesn't trigger OnReset() since that's not even in Quest.psc OR in Alias.psc so the event can't even exist, much less be triggered, since OnReset() only exists in ObjectReference.psc and neither of these others extend that. [[User:Arthmoor|Arthmoor]] ([[User talk:Arthmoor|talk]]) 2013-12-07T16:50:28 (EST)
Anonymous user

Navigation menu