Jump to content

ObjectPosition


chickengod
 Share

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
Share on other sites

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.

Link to comment
Share on other sites

42 minutes ago, 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.

It was FireHack API not wow.

Link to comment
Share on other sites

2 hours ago, chickengod said:

It was FireHack API not wow.

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...