Ok...
So I want to know if it's possible to change the order of "SetNextCursorMode" ( I think it's called that).
In the default Global script right click is SetNextCursorMode. So the default cycle for the cursors when you right click is 0, 1, 2, 3 ,4 ,5 etc.
I want to know if there's any way you can change the order of the cursors because I want something like,
0, 1, 2, 3, 5, 4.
Thanks in advance.
You have to use conditions for that: if cursor is 1 - set it to 2, if it is 2 - set it to 3 etc.
I don't want to write you complete script because it is better for you to learn it yourself. Check the manual for if, else and else if statements.
Well, a work around would be to disable mode 4 utterly and then create a new mode after 5, with the same function. Of course you will have to adjust the interactions properly (use cursormode 6 instead of 4).
Another way would be the following: in on_mouse_click, type:
if (button==RIGHT) {
Ã, if Ã, (GetCursorMode()==3) SetCursorMode(5);
Ã, else if (GetCursorMode()==5) SetCursorMode(4);
Ã, else NextCursorMode();
Ã, }
Thanks for the help. :)
I was actually aware about GetCursorMode() and SetCursorMode() but I wanted to know if there was any other way to solve my problem.