Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creatures.ByDirectionBeside(Dir)
#1
My idea is instead of using creature.x,y,z to check for creatures positions there could be a macro like

Code:
Creatures.ByDirBeside(North)>=1
Creatures.ByDirBeside(South)>=1
Creatures.ByDirBeside(West)>=1
Creatures.ByDirBeside(East)>=1

Examples down (2 = Self / 1 = Other creatures)
If you know OTs Spells configs you will understand this easier.

North will check for:

Code:
1,1,1
0,2,0
0,0,0

South will check for:

Code:
0,0,0
0,2,0
1,1,1
West:

Code:
1,0,0
1,2,0
1,0,0

East:

Code:
0,0,1
0,2,1
0,0,1

This way its more easy for spells like exori min and future incoming spells...
Reply


Messages In This Thread
Creatures.ByDirectionBeside(Dir) - by You know who - 08-30-2015, 07:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)