It\'s not possible to move the camera when the cursor is enabled in any way (EditObject/SelectTextDraw).
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
You can move the camera in EditObject mode by holding down SPRINT key to change the rotation but it won\'t work when SelectTextDraw is enabled at the same time basically. It\'s kind of a barrier for creating a full featured costume editor this is the only limitation I am experiencing.
Posts: 1,464
Threads: 11
Joined: Jan 2008
Reputation:
0
Have you tried if you can fix it with SetCameraBehindPlayer or TogglePlayerControllable?
Edit: Or changing the order: first show the selectable text draws then after that put the player in object editor mode (or vice versa).
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
I have not tried SetCameraBehindPlayer or TogglePlayerControllable but I highly doubt this will do anything as you should be able to hold sprint to move the camera when the ObjectEditor is running which will work fine until you introduce SelectTextDraw order doesn\'t matter either I\'ve tried that.
Posts: 340
Threads: 44
Joined: Feb 2012
Reputation:
0
You could use OnPlayerKeyStateChange and SetCameraPosition for a temporary fix.
Posts: 1,151
Threads: 96
Joined: Feb 2011
Reputation:
0
The variable to be checked playertextid, must be different variable in the switch.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Thanks for the idea I might give that a shot sometime.