get_actor_team
Retrieves the FGenericTeamId assigned to an Unreal actor or its Controller, returning NoTeam (255) when neither implements IGenericTeamAgentInterface.
Instructions
Reads the native FGenericTeamId assigned to an actor (or its Controller, for a Pawn possessed by an AAIController). Returns the engine-reserved NoTeam id (255) if neither the actor nor its Controller implements IGenericTeamAgentInterface.
Returns: { actor_name, team_id, resolved_on: "actor"|"controller"|"none", is_no_team }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Display label or internal name (required) |