07-16-2014, 10:44 PM
It won't work well, because it does exactly what should never be done - store a pointer to an entity while in the callback and leaking that pointer out. You need to do your action directly in the callback, you can't pass the pointer around.