Aller au contenu

Photo

How to check if a PC is in barter?


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

#1
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

How to check if a PC is in barter?



#2
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

when you try barter with a player that is already in barter the nwn inform that current player you try barter is busy. there is a way to check if PC is busy?



#3
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Since no one answered me, I finally found the answer.

 

Answer: By using GetItemPossessor(oItem) onplayerunacquireditem you can check if it is in barter (if the item's location is invalid, and the possessor invalid, it is in a barter screen - in limbo).


  • Kato - aime ceci