how does a pawn decide what to attack?
Posted: Thu Apr 05, 2007 6:11 pm
How does a pawn decide which target to attack if there are two available targets within sight and both are still alive?
does it chose the one closest or the one it saw first?
if the player then enters the field of vision, what changes?
if a pawn is targeting a foe, can it be made to look for a path point at the same time?
is there a way to get the pawn to target a allied pawn to follow and look for a enemy pawn to attack?
what about attaching a point to the allied pawn to follow and targeting an enemy pawn at the same time?
what would i have to do to get a different reaction for a pawn finding the dead body of an ally and an enemy while unalert and what would i have to do to make that different from seeing that the once living pawn it targeted is now killed.
I hope that by asking these questions i will be able to build an efficient combat and survival oriented allied and enemy script set that will keep the action of my game fresh and exciting without to much repitition.
thanks,
fps
does it chose the one closest or the one it saw first?
if the player then enters the field of vision, what changes?
if a pawn is targeting a foe, can it be made to look for a path point at the same time?
is there a way to get the pawn to target a allied pawn to follow and look for a enemy pawn to attack?
what about attaching a point to the allied pawn to follow and targeting an enemy pawn at the same time?
what would i have to do to get a different reaction for a pawn finding the dead body of an ally and an enemy while unalert and what would i have to do to make that different from seeing that the once living pawn it targeted is now killed.
I hope that by asking these questions i will be able to build an efficient combat and survival oriented allied and enemy script set that will keep the action of my game fresh and exciting without to much repitition.
thanks,
fps