Losing sight of the player does not mean the danger is over. Search behaviour keeps the threat alive after visual contact breaks, giving stealth encounters their characteristic tension. Players exploring games through we999 login will recognise this experience — the moment a guard stops looking directly at them but has not yet given up and returned to patrol.
A guard that immediately forgets the player after losing sight would trivialise stealth. One that searches forever would feel unfair and exhausting. The balance between believable persistence and eventual resignation is one of the core design challenges of search behaviour, and the solution almost always involves time-bounded investigation phases rather than infinite searching.
Contact Lost
Visual contact breaks. The NPC stores the last confirmed player position in its short-term memory. It does not immediately abandon the threat — it treats the last position as a target.
Investigate Last Position
The NPC moves to the last known position. On arrival it finds no player, but the position provides a starting point for expanding the search. It may examine nearby cover, doorways, or raised platforms.
Area Search
From the last known position, the NPC searches adjacent areas within a defined radius. It may follow noise cues, check popular hiding spots, or move to positions that provide better sightlines.
Investigation Timer
A timer runs throughout the search. If the player is not found before the timer expires, the NPC transitions to a suspicion-reduced state. Alertness decreases gradually rather than dropping instantly.
Return to Patrol
With no evidence of the player found and the timer expired, the NPC returns to its pre-alert routine. Alertness continues to decay over time until it reaches baseline.
- Last known position is stored at the moment visual contact breaks, not updated after that point
- Investigation timers prevent searches from running indefinitely while maintaining believable persistence
- Search radii and locations can be designed to reward smart hiding and punish predictable routes
- Gradual alertness decay after an unsuccessful search feels more natural than an instant reset
Searching for a missing player becomes more convincing when enemies can use information from earlier encounters. Memory of past encounters allows characters to retain relevant events, locations, and player actions that influence future responses.