|
In programming advanced AI, you can have multiple move to commands, but they all must go to the same locations.
To get around this, use FOLLOW and specific a building or other static item to get different paths.
For example:
FOLLOW BUILDING ONE if I'M CARRYING OBJECT ONE
FOLLOW BUILDING TWO if I'M CARRYING OBJECT TWO
FOLLOW BUILDING THREE if AWARE of OBJECT THREE
FOLLOW BUILDING FOUR if HEALTH <100
PATROL ALWAYS
One limitation of this method is that the NPC will not stop on jump pads, teleporters, or go through gates (even if holding the key) as part of the FOLLOW BUILDING rule.
|