08-29-2015, 02:40 PM
(This post was last modified: 08-29-2015, 02:48 PM by You know who.)
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
Can anyone merge all this macros into one only or explain me how to do it please?
Exori Min North:
Exori Min South:
Exori Min East:
Exori Min West:
Exori Min South West:
Exori Min North West:
Exori Min North East:
Exori Min South East:
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)