OK.
So how do I get the team and state. etc now
And ofcourse the script is red by the program every frame?
and btw, can't i use abs(self.x - target.x) to get distance?
seems ok for me, I'm checking the facing anyway
EDIT:
Hmmm, the get_closest function seems to be jamming.
It doesn't get the target properly, it usually takes one and doesn't change it.
The code looks ok for me, any ideas?
Edit2:
Just wondering.
Is it possible to connect to someone who didn't install AI dll, while I do have it?
If possible how AI will react?
So how do I get the team and state. etc now
Code:
(self.team != target.team && target.type == 0 && target.state !=(12 || 18))
doesn't seem to work for me (at least the team)
And ofcourse the script is red by the program every frame?
and btw, can't i use abs(self.x - target.x) to get distance?
seems ok for me, I'm checking the facing anyway
EDIT:
Hmmm, the get_closest function seems to be jamming.
It doesn't get the target properly, it usually takes one and doesn't change it.
The code looks ok for me, any ideas?
Edit2:
Just wondering.
Is it possible to connect to someone who didn't install AI dll, while I do have it?
If possible how AI will react?