This was just added in the latest version (2020.06.24). It might only be available on the Dev Branch right now.
Returns the first time an NPC's enemy was seen by the NPC.
1 Entity enemy = GetEnemy()
The enemy to check
1 number time
First time the given enemy was seen