Jump to content

Search the Community

Showing results for tags 'macros'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Streets of Dalaran
    • The Violet Citadel
    • Krasus' Landing
    • Like Clockwork!
    • The Suggestions Box
    • The Bug Box
  • The Broken Isles
    • Meredil
    • Deliverance Point
    • Nar'thalas Academy
    • Lor'lathil
    • Tinker Town
  • The Archives
    • The Codex of Memories
    • Spark of Imagination
    • The Epsilon Translocator
  • forums_forum_29

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Macros Tile/Building macros X is forwards and backward movement. Y is upwards and downward movement. Where it says CHANGEME, change the value to suit your needs from flat to angle: outputs x and y coordinates relevant to input angle and distance. should be fixed /run a = 10; d = 4; h = 2*cos((90-a)/2)*sqrt((d/2)^2*2); x = (d*0.5)*cos(a)+(d%h/2); local y = (d*0.5)*sin(a); print(a,d,h,"\nX:",x,"Y:",y); From angle to angle /run distance = CHANGEME; angle = CHANGEME; x = distance*cos(angle); y = distance*sin(angle); print("Distance",distance,"Angle",angle,"X = ",x,"Y = ",y) Misc Unequip Gear /run for i = 1,19 do PickupInventoryItem(i); PutItemInBackpack(); end; Empty bags /run for bag=0,4 do for slot=1, GetContainerNumSlots(bag) do PickupContainerItem(bag,slot); DeleteCursorItem(); end end Clean Bars, Cheers @Litzzik /run for i = 1,120 do PickupAction(i); ClearCursor(); end
×