Part
Memory
You might say: last known position, belief state, stale information
Stored observations that outlive the stimulus, usually with a timestamp, confidence or last-known location.
- What it does
- Lets the AI search, pursue or plan from evidence that is no longer in view without treating it as certain forever.
- Ask
- How old is this fact, how confident is it, and what should happen as it fades?
- Typical
- A memory can expire immediately, persist for a bounded age, or remain until explicitly cleared.
- Trouble
- The AI attacks an old location as if it were current, or loses a target the instant a sight test fails.
What to look for
- A last-seen marker after an enemy leaves sight
- A timer or age value beside a remembered fact
- A target that is searched for rather than tracked exactly
Sources
- Epic Games, AI Perception in Unreal Engine, AI Damage, AI Hearing and AI Sight properties
Max Age: Determines the duration in which the stimuli generated by this sense becomes forgotten (0 means never forgotten).
- Epic Games, AI Perception in Unreal Engine, Perception Function Calls
Returns any Actors that have been perceived (and not yet forgotten) based on a given Sense.
Use it on your project
teardown-apply: hold "Memory" (memory) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal