We must be long lost brothers, I believe we think similarly about scripting
Quote:
Originally Posted by Novo
Please note that the onCreated trigger is executed in the NEXT tick. That is, the object will still be in the class until 0.05 seconds later. If you require an immediate answer, either sleep(0.05) before testing,
|
That caused me some irritation a few months ago, my suggestion for fixing that is an
onJoin() function event specifically for classes that would be executed at the end of the joining process and before you can join another class or continue the function that called the join. The event would have to complete before the script could continue. The event would also not be added to the object the class is being joined to. There would also be the
onLeave() counterpart.