Skip to content

API Hero create_party

SolWayward edited this page Dec 24, 2025 · 1 revision

Hero create_party

Endpoint: gm.hero.create_party

Syntax

gm.hero.create_party <hero>

Parameters

Parameter Type Required Description
hero string Yes Hero identifier (StringId or partial name match). The hero who will lead the new party.

Description

Creates a party for the specified hero. The party will spawn at the hero's last known location if available, otherwise at their home settlement or an alternative settlement. The party is initialized with 10 basic troops and 20000 trade gold.

Restrictions

  • The hero must not already be leading a party
  • A suitable settlement must be found for spawning the party

Examples

Create a party for a lord:

gm.hero.create_party lord_1_1

Output:

Created party for {Hero Name}.
Party: {Party Name}
Location: {Settlement Name}
Initial roster: 10 troops
Trade gold: 20000

Create a party for a wanderer:

gm.hero.create_party wanderer_1

Notes

  • The party is created with basic troops from the hero's culture
  • Trade gold is set to 20000 to allow the party to operate
  • The party will spawn at the hero's last known settlement or their home settlement

Related Commands

Last Updated: 2025-12-23

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