I am using this dialogue extension, which seems to be very well known.
http://dialog.justin.espedaladventures.com/It's very good, although, a bit complicated to a coding plebeian like myself. What I want to do is use this extension to make an inventory system that will only display the item when you have it. This has been completed, but I was blocked by my inability to figure out how to call upon a behavior from this point. Bonus points if you know how to make such a behavior that I could use to check the actor in front of the player and use the selected item on that actor, such as using a jar of polish from the inventory, and since there's a bowling ball on a stand, the player will apply the polish to it.
<option [
["Nothing" "UC"]
["Apple" "UC" <getattr [game displayapple]>]
["Orange" "UC" <getattr [game displayorange]>]
["Lemon" "UC" <getattr [game displaylemon]>]
]>
This is my current dialogue extension for having items show up ONLY as you pick them up, as they won't display if the item is in your inventory. But I don't know how to get dialogue extension to call upon a behavior, like when you use the item. All I have it do is call upon the dialogue extension "UC" which is my under construction dialogue.
I thank any participants ahead of time for their time, and please forgive me if I'm a bit slow to understand things when first explained. I haven't touched stencyl in about 3 months due to mind blocks, and I've decided it's time I fought through it.