I have an inventory object with an interaction defined for "Look at object" and nothing else.
However, calling IsInteractionAvailable() on that object with a parameter of eInteract is returning 1, as though an interaction was defined.
Is this a bug, or am I doing something wrong?
EDIT: I noticed that if my IF/THEN logic got too complex, the final conditional didn't get evaluated no matter what, whether it used IsActionAvailable() or even GetProperty().
the logic went something like this;
if ((something) || ((one thing) && (another thing))
then (another thing) always returned true, no matter what the condition should have been. did I get too complicated and break something in the parser?
However, calling IsInteractionAvailable() on that object with a parameter of eInteract is returning 1, as though an interaction was defined.
Is this a bug, or am I doing something wrong?
EDIT: I noticed that if my IF/THEN logic got too complex, the final conditional didn't get evaluated no matter what, whether it used IsActionAvailable() or even GetProperty().
the logic went something like this;
if ((something) || ((one thing) && (another thing))
then (another thing) always returned true, no matter what the condition should have been. did I get too complicated and break something in the parser?