Skip to content

API Hero set_clan

SolWayward edited this page Dec 22, 2025 · 1 revision

Hero set_clan

Endpoint: gm.hero.set_clan

Syntax

gm.hero.set_clan <hero> <clan>

Parameters

Parameter Type Required Description
hero string Yes Hero identifier (StringId or partial name match)
clan string Yes Target clan identifier (StringId or partial name match)

Example

gm.hero.set_clan lord_1_1 clan_empire_south_1

Output:

{Hero Name} (ID: lord_1_1) transferred from '{Previous Clan}' to '{New Clan}'.

Transfer using partial names:

gm.hero.set_clan aserai empire

Related Commands

Last Updated: 2025-12-16

Quick Links

🏠 Home | Quick Reference | Syntax Guide


Hero Commands
Clan Commands
Kingdom Commands
Settlement Commands
Item Commands
Troop Commands
Caravan Commands
Bandit Commands
Query Commands

Clone this wiki locally