Hi there,
Can anyone explain what I’m doing wrong here - I am trying to reference an Object’s Instance but I keep hitting the wall. It’s under the “for each object” loop.
The condition here should be “if the Overlay Instance = Image instance”.
The logic I am making creates a visual representation of a resource building level up where a semi transparent Overlay stretches across the resource building icon over time. The Object has a Variable “BuildingType” set to Text and then empty field.
Then under the Instance Variables I set it to Farm, which I think it’s done correctly as it changed to Woodcutter when I click on another Overlay Instance?
But then in the debug text below returns 0, which means in the following Event the underlined Condition does not work. The first Var returns 0, the second “Farm” (correctly).
Any recommendations where this logic could break?