|
DI-Guy Lua AI SDK
|
Classes | |
| class | luaCharacter |
| The base class of all the diguyCharacter's lua representation. More... | |
| class | luaSmartProp |
| A base class for creating movable props with auto tagging features. More... | |
| class | luaCrowdObject |
| A simple object for agents to use as a shared blackboard for storing arbitrary information. More... | |
| class | luaUIStateMachine |
| A class for building interactive UI tools. More... | |
Variables | |
| diguy_package_registry = {} | |
| A global registry for storing package objects. More... | |
| lua_character_registry = {} | |
| A global registry for storing luaCharacter objects and decendants. More... | |
| lua_crowd_registry = {} | |
| A global registry for storing luaCrowdObjects. More... | |
Additions to table library | |
| luaMessageObject = {} | |
| A object that wraps an incoming diguy message. More... | |
| string | sender |
| who sent the message; More... | |
| string | message_type |
| typically 'signal', 'broadcast', 'callback' or user defined; More... | |
| string | message |
| the actual contents of the message; More... | |
| string | params |
| optional additional information in the message; More... | |
| luaMessageObject_mt = { __index = luaMessageObject } | |
| function luaMessageObject_mt | __tostring (e) |
| function luaMessageObject | new (sender, message_type, message, params) |
| luaMessageObject constructor More... | |
| function luaMessageObject_mt __tostring | ( | e | ) |
| function luaMessageObject new | ( | sender | , |
| message_type | , | ||
| message | , | ||
| params | |||
| ) |
luaMessageObject constructor
| sender | who sent the message |
| message_type | typically signal, broadcast, callback or user defined |
| message | the actual contents of the message |
| params | optional additional information in the message |
| diguy_package_registry = {} |
A global registry for storing package objects.
| lua_character_registry = {} |
A global registry for storing luaCharacter objects and decendants.
| lua_crowd_registry = {} |
A global registry for storing luaCrowdObjects.
| luaMessageObject = {} |
A object that wraps an incoming diguy message.
| luaMessageObject_mt = { __index = luaMessageObject } |
| string message |
the actual contents of the message;
| string message_type |
typically 'signal', 'broadcast', 'callback' or user defined;
| string params |
optional additional information in the message;
| string sender |
who sent the message;