Components
ScriptableObjects
Plain C# Classes
AgentEventType : EntityType : ScriptableObject
What is an Agent Event Type?
An Agent Event Type contains the main configuration for an Agent Event. It inherits from Entity Type which
is also the base class for Agent Type and World Object Type.
See Agent Event for more info.
Agent Event Type Custom Inspector
Entity Type Fields
See Entity Type for info on Entity Type Info, Prefab Variants, Placement Info, Tags, Inventory, and Entity Triggers.
Timing
How long to wait for min number of attendees? If this time is exceeded the Agent Event will terminate. | |
Time To Wait After Min | Once the min number of attendees is reached, how long to wait for more Agents to join? |
Include Go To Agents | Should Agents that are currently going to the Agent Event be counted? Check this to avoid Agent Events from being cancelled when Max Time To Wait is reached but enough Agents are going to the event. |
Running Time Limit | Max time for event to run for. Leave at None for no limit. The length of a game hour is set in the Scene's TimeManager. |
End When Creator Quits | If the creator quits should the event end? Agents can quit Agent Events at any time. |
End When Less Than Min | If a running event goes below min number of attendees should it end? Agents can quit Agent Events at any time. |
Attendees
Only Faction Members | A Bool indicating if the attendees must be in the same Faction as the creator. |
R Level Min | What relationship level (R Level) must the attendee have with the Creator? This R Level comes from the Creator's memory. (Creator's view of the attendee.) |
Min Attendees | Minimum number of attendees for this Agent Event to run. |
Maximum number of attendees for this Agent Event. |
Sound
Will play the selected Audio Clip while the Agent Event is in the Waiting state. | |
Loop | Should this sound loop? |
Role Types
Assign role types to the attendees. Role Types can completely change an Agent's Drives and Actions. When the Agent Event is over the Role Types are removed, unless the Role Type was active before the Event.
Role Mapping Type | Creator Attendee, Join Order, or Has Role Type: What criteria type to use to assign role types to attendees? |
How many criteria to Role Types mappings are there? | |
For Creator | Is this for the creator or the attendee? |
Mapping Join Orders | A list of join order positions that get these Role Types. |
Mapping Role Types | List of Role Types. If any match the Agent will get these role types. |
Role Types | All of these will be added to the Agent if they match the above criteria. |