Posts: 1,063
Threads: 278
Joined: Mar 2010
Reputation:
0
How i can make like when i add object it will appear a label middle of the object with the object id and the editing id, when i edit the object and save the pos it will be saved too (not stay on its old place) and when deleting the object it will disapear
a command like /label to show it and labeloff to turn it off
Posts: 1,063
Threads: 278
Joined: Mar 2010
Reputation:
0
Dosnt move when i edit the object....
Posts: 1,063
Threads: 278
Joined: Mar 2010
Reputation:
0
Under
if(response == EDIT_RESPONSE_FINAL)
or
if(response == EDIT_RESPONSE_UPDATE)
?
Posts: 190
Threads: 13
Joined: Oct 2011
Reputation:
0
if(response == EDIT_RESPONSE_UPDATE)
because
0 - EDIT_RESPONSE_CANCEL // player cancelled (ESC)
1 - EDIT_RESPONSE_FINAL // player clicked on save
2 - EDIT_RESPONSE_UPDATE // player moved the object (edition did not stop at all)