Navigation
BlueprintAPI > BlueprintAPI/LearningAgents
Gets the agent with the given id from the manager. Calling this from blueprint with the appropriate AgentClass will automatically cast the object to the given type. If not in a blueprint, you should call the manager's GetAgent methods directly.
Target is Learning Agents Manager Listener
Inputs
| Type | Name | Description |
|---|---|---|
| object | Target | |
| integer | Agent Id | The id of the agent to get. |
| class | Agent Class | The class to cast the agent object to (in blueprint). |
Outputs
| Type | Name | Description |
|---|---|---|
| object | Return Value | The agent object. |