I have an enemy which needs to pass 3 pathnodes, but the test doesn’t come out as a success.
The PathNodeIndex is the current index the enemy is targeting to move to.
The PathNodeCount is the amount of pathnodes.
In the end it should be 3 and 3 in this scenario. The Enemy gets destroyed after it hits the last node.
At the moment I’m getting a timeout (travelling to endnode takes about 6 seconds, timeout is set to 10), but when I change “Equal” to “Not Equal” I get an exception when the Enemy is destroyed: “Expected: 3, Actual: 3”. So the assertion works in a kind of way, but not how I want it to work.
Can anyone tell me what I’m doing wrong here?
Here’s my setup:
