OnReset - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Gr3y No edit summary |
imported>Gr3y No edit summary |
||
| Line 22: | Line 22: | ||
== Notes == | == Notes == | ||
* Your script's data has already been reset by the time you receive this event (and your OnInit has been run), so if you need to retain any information between Resets, you need to store the information somewhere else. | * Your script's data has already been reset by the time you receive this event (and your [[OnInit]] has been run), so if you need to retain any information between Resets, you need to store the information somewhere else. | ||
* Quests and their aliases receive this event when the quest is started up. | * Quests and their aliases receive this event when the quest is started up. | ||
* Any event registrations that have been done before the object was reset (and before OnInit would have been called) will have been cleared. | * Any event registrations that have been done before the object was reset (and before OnInit would have been called) will have been cleared. | ||