I have a Unity game using the Opsive UCC and UIS. I'm using the UIS DS Demo Database, and talking to the Guide, who offers me a Great Sword. The Great Sword is in my UIS Item Definitions Manager.
The dialogue triggers fine, but when the Dialogue Manager get to the
Code: Select all
uisGetItemAmount("Great Sword", "") == 0
script, I get an error that it cant find my Inventory;
Code: Select all
Dialogue System: Can't find Inventory on 'Player 1'.
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
PixelCrushers.UISSupport.UISLua:GetInventory (string) (at Assets/Pixel Crushers/Dialogue System/Third Party Support/Opsive UIS Support/Scripts/UISLua.cs:174)