Why is last known location key being cleared right when the enemy key is cleared?

Edit: Ah never mind this issue was quickly addressed :wink:

I’m a bit confused as to how this is actually working properly at this state, the setup doesn’t seem quite right.

When the player goes out of sight from the AI the enemy key gets cleared, which in turn clears the last known location. But in order for Suspicion to run using last known location, the enemy key needs to be cleared.

Yet it seems to be working, and the AI is moving towards the last known location. Is the last known location vector being passed to the Suspicion MoveTo function only a frame before the enemy key is cleared?

Also, I thought our goal (from challenge slide) was to clear the last known location only after the AI arrived via MoveTo? Maybe this is addressed / fixed later on, but figured I’d ask anyway.

Privacy & Terms