So I am using Dialogue System with Action-RPG Starter Kit, I have setup player and one ally with which player will start conversation. Now at one point ally wil ask player for potion but this will trigger only on this condition
Code: Select all
Actor["EVE"].ItemQty1 > 0
Code: Select all
RemoveItem(1, 1)
Code: Select all
Dialogue System: Lua code 'RemoveItem(1, 1)' threw exception 'Invoke function call on non function value.'
Thanks.
Update:
Ok still I am not able to find solution but I think found root cause which is I lua interpreter is not working as I played "Lua Example" scene and used "sqrt(4)" in in lua console but it output was "no return value". So I might accidently caused this but don't know how to solve it without starting all over again.