What is the difference between SimObject::clearNotify() and SimObject::deleteNotify()?
by Ji Xinyu · in Torque Game Engine Advanced · 09/20/2011 (5:44 pm) · 2 replies
Hi,anybody can help me?What is the difference between SimObject::clearNotify() and SimObject::deleteNotify()?
About the author
Torque Owner Guy Allard
Default Studio Name
So an AI might set a target object, then set a deleteNotify so that the AI is notified if the target object gets deleted at some point.
clearNotify clears the request for a deleteNotify.
Note that the comment for clearNotify in the source code "Notify an object when we are cleared." is utter nonsense.