Forum rules - please read before posting.

Only show conversation option if carrying specific amount?

I'd like to show a dialogue option using "only show if carrying specific inventory item" but instead of it being a specific item, I want it to be if the player is carrying a specific amount of an item. Is this possible, or would this be a feature request?

Comments

  • This can be done by hooking into the OnStartConversation custom event.

    Attach to the Conversation component and fill in the fields:
  • So, if I want to enable an options of
    • "would you take 2 dollars" if I have equal or more than 2 dollars
    • "would you take 5 dollars" if I have equal or more than 5 dollars
    • "would you take 10 dollars" if I have equal or more than 10 dollars
    etc, would that require multiple instances of the same script, or is this script intended for only one amount per conversation? Since the "only show if carrying specific item" option is per dialog option, rather than conversion?
  • You'll have to modify the script to suit your own needs.  This is nothing to do with the "Only show if carrying" option - it just enables/diables a single option according to how many of an item you have.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.