Game Development Reference
In-Depth Information
Event types
To help centralize the event types that we want to support, we can create a global array
within the AgentCommunications table of every EventType string we'll support.
Going forward, we'll add new event types to this table, so it is guaranteed that every in-
stance within our scripts will use the same event type string internally:
AgentCommunications.lua :
AgentCommunications = {};
AgentCommunications.EventType = {};
Search WWH ::




Custom Search