You are here

(solved) PC doing automatically behaviors when DetermineCombatRound

3 posts / 0 new
Last post
WhiteTiger
(solved) PC doing automatically behaviors when DetermineCombatRound

Recently I uninstalled CPP from my module, I don't know if this have to do with the CPP, I beliave so.

When DetermineCombatRound and PC is with low hit points (HP), it uses automatically a healing potion. Also, if there is a wand in its inventory, it uses against the enemy.

Do you know what is that?

Hey have you ever played my module? Click here: Amnesia Chapter 1  - (100% english) Enjoy it!

  • up
    50%
  • down
    50%
Proleric

DetermineCombatRound should not be issued as a command to a PC, because the player should decide how to act for themselves.

It's fine to issue DetermineCombatRound(oPC) as a command to an NPC, though. That shouldn't result in PC actions. Are you saying that it does?

NWN and DAO adventures at http://proleric.com/

  • up
    50%
  • down
    50%
WhiteTiger

Yes, my tests say that if you assign to oPC it does some weird behavior. That's what happened.Unintentionally I did DetermineCRound for oPC and not NPC. Thanks Proleric

  • up
    50%
  • down
    50%