Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help: throwing magic walls on specific sqms
#1
I'm trying to find a way to throw magic walls or wild growths on specific sqms, since I'm hunting on a spot where I need to keep the mobs away from my secondary and tertiary characters.

Is there any way to do it?
Reply
#2
Yes there is

change mX and mY and ID of magic wall on ground if different
[macro]200 {Macro Sample} mX:=12345 mY:=12345 MWRuneID:=3180 MagicWallID:=2129 UseonID:=Map.ItemOnTop.ID(!mX, !mY, :Z) !UseonID<>!MagicWallID Map.UseOn(!MWRuneID, !UseonID, !mX, !mY, :Z, 6)[/macro]

[spoiler]
Code:
mX:=12345
mY:=12345
MWRuneID:=3180
MagicWallID:=2129
UseonID:=Map.ItemOnTop.ID(!dX, !dY, :Z)
!UseonID<>!MagicWallID
Map.UseOn(!MWRuneID, !UseonID, !mX, !mY, :Z, 6)
[/spoiler]
Reply
#3
(11-20-2018, 02:19 AM)Catar Wrote: Yes there is

change mX and mY and ID of magic wall on ground if different
[macro]200 {Macro Sample} mX:=12345 mY:=12345 MWRuneID:=3180 MagicWallID:=2129 UseonID:=Map.ItemOnTop.ID(!dX, !dY, :Z) !UseonID<>!MagicWallID Map.UseOn(!MWRuneID, !UseonID, !mX, !mY, :Z, 6)[/macro]

[spoiler]
Code:
mX:=12345
mY:=12345
MWRuneID:=3180
MagicWallID:=2129
UseonID:=Map.ItemOnTop.ID(!dX, !dY, :Z)
!UseonID<>!MagicWallID
Map.UseOn(!MWRuneID, !UseonID, !mX, !mY, :Z, 6)
[/spoiler]

Hey bud! First of all thank you for your support!

But I can't get it working for me. I'm trying to shoot a wild growth (ID 3156, ground ID 2130) on the coordinates (33230 29581 8). Doesn't seem to work...
Reply
#4
try gain, with this, for some reason i named variable diferently (d instead of m)

200 {Macro Sample} mX:=33230 mY:=29581 MWRuneID:=3156 MagicWallID:=2130 UseonID:=Map.ItemOnTop.ID(!mX, !mY, :Z) !UseonID<>!MagicWallID Map.UseOn(!MWRuneID, !UseonID, !mX, !mY, :Z, 6)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)