Jump to content
BloodRush20

Question about objects belonging to players

Recommended Posts

Simply hunting is the idea here. I have a trap and it seems many traps share the same ids so simply getting the idea will have you trying to pick up others kills. I need to get my closest object that is my own trap. I understand programming done it for a while but I see nothing in the API to do this or I'm onlooking to hard and missed it. I do notice there is a debug for object info so i knows its possible. Any point in the right direction would be great!

 

Thanks in advance.

Link to comment
Share on other sites

Simply hunting is the idea here. I have a trap and it seems many traps share the same ids so simply getting the idea will have you trying to pick up others kills. I need to get my closest object that is my own trap. I understand programming done it for a while but I see nothing in the API to do this or I'm onlooking to hard and missed it. I do notice there is a debug for object info so i knows its possible. Any point in the right direction would be great!

 

Thanks in advance.

I thought it didnt show details for other users traps?

Link to comment
Share on other sites

I thought it didnt show details for other users traps?

 

Actually it does I tried using a simple detection of traps. Thinking that each item bird snares and boxes all had different ids when set, broken , ect but I was wrong it would work great til a user was trying to catch chins near me and kept freaking out trying to run to his traps. So I thought obviously I could fix this making the closest trap picked up but this is still a bandaid over a gash. If you and I are hunting birds in the same area it would try to pick up yours so the closest needs filtered by the player it belongs to and in debugging the info will show traps by users name I just need to find the filtering option for that but I can't seem too

Link to comment
Share on other sites

Why not record which traps you set, then only get traps that were set on that position?

 

That would be a great alternative I was just also wondering if you cant filter items like this in the future by this simply this would save me a load of coding grabbing and checking that the position brings.(not a load but yea)

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.



  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...