Phaytel Posted May 10, 2020 Share Posted May 10, 2020 I tried searching the wiki and the forums but didn't come up with what I wanted. Is it possible to run code before when an item is detech from an avi? There are like "attach" and "on_rez" events, but I don't see any "detach" or "on_derez" events. Any help is appreciated. Thanks! Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted May 10, 2020 Share Posted May 10, 2020 The attach event is triggered on detach. The key will be NULL_KEY when that happens. I don't recall there being a derez event, as in some event that triggers when the object is being deleted or picked up. 2 Link to comment Share on other sites More sharing options...
Phaytel Posted May 10, 2020 Author Share Posted May 10, 2020 Oh that sort of makes sense, I missed must've on the documentation if it was there. Thanks for the quick reply! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now