10-12-2013, 06:50 PM
Hey,
im trying to alter the Teleporthack execution.
I want it to teleport only if there are no players near me.
So i know that i can get objects from the EntityList, and that i can filter it.
One of the filters I need is maxdistance, but i want to get only players, so i guess everything objecttype = 2, but i cant find informations about the EntityList filters i can use, is there a objecttype filter? or is it type?
Edit:
Okay i just solved this (its type), so my bot only teleports if no player is near, but still, it would be great to have a bit of a docu... Or im just missing it because im stupid?
Edit2:
Found the github wiki
im trying to alter the Teleporthack execution.
I want it to teleport only if there are no players near me.
So i know that i can get objects from the EntityList, and that i can filter it.
One of the filters I need is maxdistance, but i want to get only players, so i guess everything objecttype = 2, but i cant find informations about the EntityList filters i can use, is there a objecttype filter? or is it type?
Edit:
Okay i just solved this (its type), so my bot only teleports if no player is near, but still, it would be great to have a bit of a docu... Or im just missing it because im stupid?
Edit2:
Found the github wiki