Bioware Archive
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Login
Register
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
How to make an NPC use a potion?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to make an NPC use a potion? (Read 331 times)
Legacy_Lovelamb
Jr. Member
Posts: 68
Karma: +0/-0
How to make an NPC use a potion?
«
on:
March 13, 2013, 11:22:57 pm »
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?
Logged
Legacy_ffbj
Hero Member
Posts: 1097
Karma: +0/-0
How to make an NPC use a potion?
«
Reply #1 on:
March 14, 2013, 02:30:45 am »
Try buff self: TalentBuffSelf();
Modifié par ffbj, 14 mars 2013 - 02:36 .
Logged
Legacy_Lovelamb
Jr. Member
Posts: 68
Karma: +0/-0
How to make an NPC use a potion?
«
Reply #2 on:
March 14, 2013, 09:57:47 am »
Okay, so I should have searched for "talent". Thank you.
Logged
Legacy_virusman
Sr. Member
Posts: 448
Karma: +0/-0
How to make an NPC use a potion?
«
Reply #3 on:
March 17, 2013, 05:59:05 am »
If you need it to use a specific potion, NWNX provides an additional function: ActionUseItem.
Logged
Print
Pages: [
1
]
« previous
next »
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
How to make an NPC use a potion?