UTChat should be in a "destructable state" when it is called upon to be destroyed -- basically returning empty values until its references are destroyed.
General Rules:
- Functions and values that are not expected to return nil will not return nil. For instance, lengths and durations will all be 0.
- Anything that can return nil will return nil. This is the case for any function that finds values.
- No value shall be assigned to or updated
- A callback for destruction with the intent of dereferencing will be available either in the constructor of a UTChat instance or ex post facto function
- Values will not be emptied until after the callback
- Although inadvisable, returning false in the destructor callback will cancel destruction and return false in the original Destroy function. Any script that has already dereferenced the UTChat will not be able to recover it, so use this only if you intend to store the instance for some other purpose, not with the intent for others to continue using it.
UTChat should be in a "destructable state" when it is called upon to be destroyed -- basically returning empty values until its references are destroyed.
General Rules: