Jump to content

Dialogs Question


Telric

Recommended Posts

Heya peeps. I'm looking for someone with information on the dialog system. What I'm wanting is for a dialog option to only appear if the player has a specific buff. I currently have it hidden with a

<requirement type="Buff" buff="testbuff" target="self" requirementtype="Hide"/>

but the option is always hidden no matter if i have the buff or not. I've tried every possible setting i can think of. i've tried id="testbuff", i've tried both targets having the buff, I've tried id="testbuff" value="1".. I've tried value="testbuff". None work. The option to say this specific dialog is always hidden. Has anyone checked out using a buff check to hide dialogs? Any info would be lovely!

Link to comment
Share on other sites

17 hours ago, Telric said:

Heya peeps. I'm looking for someone with information on the dialog system. What I'm wanting is for a dialog option to only appear if the player has a specific buff. I currently have it hidden with a


<requirement type="Buff" buff="testbuff" target="self" requirementtype="Hide"/>

but the option is always hidden no matter if i have the buff or not. I've tried every possible setting i can think of. i've tried id="testbuff", i've tried both targets having the buff, I've tried id="testbuff" value="1".. I've tried value="testbuff". None work. The option to say this specific dialog is always hidden. Has anyone checked out using a buff check to hide dialogs? Any info would be lovely!

 

 

Dialogs can be a bit tricky. What's the full blurb?  This snippet should work:

 

<requirement type="Buff" id="testbuff" requirementtype="Hide" />

 

That being said, I do have a HasBuff in my SphereII.Mods, which is a DMT mod, that does the same thing. I'm wondering if I wrote it because the vanilla buff wasn't working.

Link to comment
Share on other sites

9 hours ago, sphereii said:

...

I'm guessing it isnt running the check on players or the trader themselves. I tried every which way to get that thing to work...  Kinda dampers my plans for this mod im workin on lol. Thanks for lookin into it though :)

Link to comment
Share on other sites

4 hours ago, Telric said:

I'm guessing it isnt running the check on players or the trader themselves. I tried every which way to get that thing to work...  Kinda dampers my plans for this mod im workin on lol. Thanks for lookin into it though :)

I understand. If you want to go with a DMT-style mod, I do have something to do what you want.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...