Aller au contenu

Photo

Detecting feats on the action queue


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
manageri

manageri
  • Members
  • 394 messages
Is there any way to get whether there's a feat queued up, either any feat or a specific one? I've tried GetNumActions but it apparently doesn't consider feats to be actions at all since it still returns 1 after I queue up 10 knockdowns (the 1 being just the attack action), and GetCurrentAction which always returns the attack action even if there's a feat up first. The default AI seems to be incapable of doing this as well since every single time I tried queueing up a knockdown at the end of a round and switching control, it gets lost and the char just attacks on the next round.

#2
MasterChanger

MasterChanger
  • Members
  • 686 messages
If you're trying to figure stuff out about the action queue, I highly recommend studying Drammel's work on the Tome of Battle. He doesn't deal with AI, but he does use custom stuff added to the action queue that works even after switching characters around.

#3
manageri

manageri
  • Members
  • 394 messages
Never used that, I'll have a look. Thanks.

#4
manageri

manageri
  • Members
  • 394 messages
Unfortunately it's as I suspected, his strikes are actually spells which even the default AI has a check for and doesn't erase.