Aller au contenu

Photo

How to make an NPC use a potion?


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

#1
Lovelamb

Lovelamb
  • Members
  • 38 messages
I'm at my wits' end. I can't seem to find a function that tells someone to use an item (potion). Am I crazy for thinking about finding the potion's effect and applying it as a spell and destroying the potion itself manually?

#2
ffbj

ffbj
  • Members
  • 593 messages
Try buff self: TalentBuffSelf();

Modifié par ffbj, 14 mars 2013 - 02:36 .


#3
Lovelamb

Lovelamb
  • Members
  • 38 messages
Okay, so I should have searched for "talent". Thank you.

#4
virusman

virusman
  • Members
  • 282 messages
If you need it to use a specific potion, NWNX provides an additional function: ActionUseItem.