For the basic Pawn Switch I can press 2 and switch between all my pawns but when I get to the last pawn at the end of the index it stops the switching. But I need the array to continue on to recycle the pawns in its index each time I press the key.
But there's just one thing with this code which I followed from an online tutorial. Is that if I have other pawns in the game like my enemies and such, the array will just keep on switching through every single pawn that it finds in the map instead of just switching only between just my main party members because I'm doing an RPG Game.
So I need to know how to modify this code so it only switches between just
my main party members and not switch between every single pawn it finds in the map. I don't know how to modify the code for doing this, and for some reason I can't make a pawn array element list, it refuses to accept the entries, so can someone tell me what I need to change?
I need to know how to set the array up so it looks for specific pawns
in its index, and not the whole kitchen sink.
[IMG]
[/IMG]
But there's just one thing with this code which I followed from an online tutorial. Is that if I have other pawns in the game like my enemies and such, the array will just keep on switching through every single pawn that it finds in the map instead of just switching only between just my main party members because I'm doing an RPG Game.
So I need to know how to modify this code so it only switches between just
my main party members and not switch between every single pawn it finds in the map. I don't know how to modify the code for doing this, and for some reason I can't make a pawn array element list, it refuses to accept the entries, so can someone tell me what I need to change?
I need to know how to set the array up so it looks for specific pawns
in its index, and not the whole kitchen sink.
[IMG]

Comment