Jump to content

Recommended Posts

I found scripts for automation that set functions for determining the position of objects based on ObjectPosition. However, this does not function in tbc. Is it possible to determine the position of an object in space in tbc?

Example

function InLOS(obj1, obj2)
  local x1, y1, z1 = ObjectPosition(obj1)
  local x2, y2, z2 = ObjectPosition(obj2)
  if not TraceLine(x1, y1, z1+2.25, x2, y2, z2+2.25, bit.bor(0x10, 0x100)) then
  return true
  end
  return false
  end
Link to comment
https://wrobot.eu/forums/topic/12262-objectposition/
Share on other sites

  On 6/12/2020 at 7:34 PM, Matenia said:

Dude idk what that code is even supposed to be. This is literally some random code (looks like Lua). It means nothing.
Also you don't even own a wRobot license. You're not getting any help here.

Expand  

It was FireHack API not wow.

Link to comment
https://wrobot.eu/forums/topic/12262-objectposition/#findComment-58789
Share on other sites

  On 6/12/2020 at 8:18 PM, chickengod said:

It was FireHack API not wow.

Expand  

Using a cracked copy of wrobot isn’t a good idea, most servers (decent ones.) have already detected it.

Link to comment
https://wrobot.eu/forums/topic/12262-objectposition/#findComment-58790
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...