canteen AI pickup

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

canteen AI pickup

Post by lizardkid »

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. :mrgreen:

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.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply