Represents a memory obtained by an NPC in the decision-making system. Each memory has a string identifier and parameters that indicates its importance, recency and relevance.
More...
|
string | memory |
| The unique identifier for the memory, such as "saw a predator", "found food", etc.
|
|
float | recency |
| Recency of this memory (0-10)
|
|
float | relevance |
| Relevance of this memory (0-10)
|
|
float | importance |
| Importance from this memory (0-10)
|
|
float | multiplier = 1f |
| Multiplier used when calculating Weight, will be scaled every in-game hour by NPC::DecayMemories
|
|
Represents a memory obtained by an NPC in the decision-making system. Each memory has a string identifier and parameters that indicates its importance, recency and relevance.
◆ ToDTO()
◆ ToString()
override string ObtainedMemory.ToString |
( |
| ) |
|
ToString override used for pretty printing.
- Returns
- A pretty print representation of the ObtainedMemory object.
◆ importance
float ObtainedMemory.importance |
Importance from this memory (0-10)
◆ memory
string ObtainedMemory.memory |
The unique identifier for the memory, such as "saw a predator", "found food", etc.
◆ multiplier
float ObtainedMemory.multiplier = 1f |
Multiplier used when calculating Weight, will be scaled every in-game hour by NPC::DecayMemories
◆ recency
float ObtainedMemory.recency |
Recency of this memory (0-10)
◆ relevance
float ObtainedMemory.relevance |
Relevance of this memory (0-10)
◆ Weight
float ObtainedMemory.Weight |
|
get |
The documentation for this class was generated from the following file: