ScriptUO
		Official ScriptUO EasyUO Scripts => Scripting Tutorials => Topic started by: declo on March 02, 2015, 04:03:27 PM
		
			
			- 
				I know I have read somewhere that you can do an IF Than to check if your dragging something to avoid moving while dragging.  Could someone enlighten me please.
			
 
			
			- 
				Well if you are talking about going between two EUO scripts, you would want to make yourself a global variable. (Atleast this is what i have done).
So in your drag drop
Finditem XXX G_5
  set *dragging #true
  for #findindex 1 #findcnt
  {
    Exevent drag #findid
    wait 10
    Exevent dropc %box2
    wait 20
  }
  set *dragging #false
Now all you need to do is make a check for whether *dragging is #true in your movement sub