acomputerdood wrote...
so... for the life of me, i can't figure this out. i can't get a hostile NPC to just stand there and do nothing while a PC beats on him. well, i don't want him to do nothing, but i want him to fire a heartbeat script each round that performs an action.
Sounds like you need to call DetermineCombatRound() and set the creature with a special AI script. This script will fire every round and allow you to do whatever action with the NPC you want. Keeping him with no scripts will cause him to go into the DetermineCombatRound() mode if ever he gets a chance at an attack of opportunity.
Modifié par WhiZard, 14 mars 2012 - 07:29 .