Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro Merge
#1
Hello I managed to make a exori min macro that checks for every direction arround the player but I have no idea how to merge macros, like

Code:
blabla()[merge1]
blabla()
{merge1}

Can anyone merge all this macros into one only or explain me how to do it please?

Exori Min North:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)<Self.Y()
Creature.X(!ID!)==Self.X()
Self.TurnN()
Self.Say(Exori Min)

Exori Min South:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)>Self.Y()
Creature.X(!ID!)==Self.X()
Self.TurnN()
Self.Say(Exori Min)

Exori Min East:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)==Self.Y()
Creature.X(!ID!)>Self.X()
Self.TurnE()
Self.Say(Exori Min)

Exori Min West:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)==Self.Y()
Creature.X(!ID!)<Self.X()
Self.TurnW()
Self.Say(Exori Min)

Exori Min South West:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)>Self.Y()
Creature.X(!ID!)<Self.X()
Self.TurnW()
Self.Say(Exori Min)

Exori Min North West:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)<Self.Y()
Creature.X(!ID!)<Self.X()
Self.TurnW()
Self.Say(Exori Min)

Exori Min North East:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)<Self.Y()
Creature.X(!ID!)>Self.X()
Self.TurnE()
Self.Say(Exori Min)

Exori Min South East:
Code:
Self.Attacking()==1
ID:=Creature.Target()
Creature.Y(!ID!)>Self.Y()
Creature.X(!ID!)>Self.X()
Self.TurnE()
Self.Say(Exori Min)
Reply


Messages In This Thread
Macro Merge - by You know who - 08-29-2015, 02:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)