You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Sunday, July 15th 2012, 3:11pm

Macro for Click to Move

Does anyone know the macro to turn click to move on and off?

Thanks

2

Sunday, July 15th 2012, 3:43pm

ummm...try

Source code

1
/script GC_SetMouseMoveEnable(true);



cant test it atm, but i think thats right..unless its setplayer etc. you can make it check first if its on and if not turn it on, if ur feeling frisky. GC_GetMouseMoveEnable() should return the state

3

Sunday, July 15th 2012, 4:21pm

Quoted from "pazuzzu;545504"

ummm...try

Source code

1
/script GC_SetMouseMoveEnable(true);



cant test it atm, but i think thats right..unless its setplayer etc. you can make it check first if its on and if not turn it on, if ur feeling frisky. GC_GetMouseMoveEnable() should return the state


Thanks :D

it works, but what about it being so that I only have to use 1 macro and not split it into to for turning on and off

4

Sunday, July 15th 2012, 5:31pm

Source code

1
  /script if GC_GetMouseMoveEnable()==true then GC_SetMouseMoveEnable(false) else GC_SetMouseMoveEnable(true); end 


i think..havent had coffee yet and logicalness isnt happening. fricken noto vent and their "TAKE A SHOT NUB!" yelling at me ><




edit: safer bet, try this. it's not fugly code like mine from de-eu:

Source code

1
/script if GC_GetMouseMoveEnable() then GC_SetMouseMoveEnable(false); DEFAULT_CHAT_FRAME:AddMessage("Mousemove off nub"); else GC_SetMouseMoveEnable(true); DEFAULT_CHAT_FRAME:AddMessage("Mousemove on"); end
from Vigilantus

https://forum.runesofmagic.com/showthrea…l=1#post2059798

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

5

Sunday, July 15th 2012, 11:04pm

Here's an even cleaner version:

Source code

1
2
/run GC_SetMouseMoveEnable(not GC_GetMouseMoveEnable())
/run DEFAULT_CHAT_FRAME:AddMessage("Click to move is now "..(GC_GetMouseMoveEnable() and "on" or "off"))

First line toggles "click to move", the second just tells you what the new state is.

Enjoy!
2013... The year from hell....

6

Sunday, July 15th 2012, 11:16pm

<bowsdown> theres the man! nice to see you still coming around peryl :p

7

Monday, July 16th 2012, 12:44am

Thanks for the help you two :D I'm too lazy to go into interface lol