Quote:
Originally Posted by Abagail
I am pretty sure CancelEdit applies for player objects too. Can you confirm it not to be working?
|
Yea nevermind what I said, tested it again here. Calling OnPlayerEditDynamicObject callback manually (with EDIT_RESPONSE_CANCEL) and then calling CancelEdit fixed my problem (If I use only CancelEdit my objects don't go back to their previous position/rotation if they are in a different world than mine (I suppose because they are not streamed since I'm in a different world in that case), that's why I'm calling the callback too). I assumed CancelEdit wouldn't work but by what you said I see dynamic objects are actually player objects, now it makes sense. But I didn't see anything saying that CancelEdit would apply to dynamic objects too... Anyways thanks for the help, Abagail.
EDIT:
Quote:
Originally Posted by Crayder
CancelEdit applies for the TD mouse, objects, and player objects.
|
I didn't know that... Thanks you too, good to know.