It's a update mask that keeps facing unless targets index is -1 or 65535 so whatever facing variable you set to player.getIndex(), you have to set -1 when dying.
Hope you get what I mean
|
Hey, I need a little help, I was adding castlewars and i noticed that after i die, I am still facing the play who I was attacking, I need to know how to reset the face player method.
EDIT: I am not going to rip it from a source, I actually want to learn.
It's a update mask that keeps facing unless targets index is -1 or 65535 so whatever facing variable you set to player.getIndex(), you have to set -1 when dying.
Hope you get what I mean
Yeah, set it to -1.
Did you use -1 or 65535?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |