I'm using perfectai.s and I've made the pawn which is using it to be friendly to player and hostle to the enemy group
Code: Select all
HOSTILEPLAYER [true]
HOSTILEDIFFERENT [false]
But how can I make the already friendly pawn following you,you know like he's your friend and follows you and when he sees an enemy,he attacks it,than when the enemy is killed,the frendly pawn starts to follow the player again no matter how far he is from the friendly pawn something like the hostages in Counter Strike.
I think the pawn shold be made to follow the player and than,when an enemy gets into his
to switch to HOSTILEDIFFERENT.
Anyway,I'm not a programmer and I don't know how to do it in Simkin,could you guys help me?