canteen AI pickup
Posted: Sun Mar 28, 2004 4:11 pm
how can i make a friendly pick up canteens of health dropped by enemies like in t1l3? (the one where you start rowing across the river)
i want to be able to make my AI tougher by enhancing them to act like the player.
whati mean if those of you out there don't understand me is that i want to script out an AI to be able to pick up health canteens if he's hurt.
now i have a general idea, a while loop with an if in it asking the computer whether it has x-# of health in it or not, if < then the AI is set into "collection mode" and tries to find canteens. when his entity touches one, it picks it up and retrieves health for the entity.
i want to be able to make my AI tougher by enhancing them to act like the player.
whati mean if those of you out there don't understand me is that i want to script out an AI to be able to pick up health canteens if he's hurt.
now i have a general idea, a while loop with an if in it asking the computer whether it has x-# of health in it or not, if < then the AI is set into "collection mode" and tries to find canteens. when his entity touches one, it picks it up and retrieves health for the entity.