Skip to content

Mission group

A Mission group is a grouping for related missions — used by the mission framework to bundle thematically related content. Each group has a primary and enemy faction.

Inheritance: dbdata → missiongroup.

PropertyTypeDescription
.idstringGroup id
.namestringDisplay name
.rawnamestringRaw text entry reference
.descriptionstringGroup description
.factionfactionPrimary faction (the “giver” side)
.enemyfactionEnemy faction (the “target” side)

That’s the complete datatype. Mission groups are thin db references — modders interact with them when their custom missions need a thematic bucket.

<do_if value="$cue.missiongroup == missiongroup.argonbuccaneers">
<!-- mission belongs to that group -->
</do_if>
<set_value name="$enemy"
exact="$group.enemy"/>
<find_ship_by_true_owner name="$Targets"
space="player.galaxy"
faction="$enemy"
multiple="true"/>
  • Mission groups are db-defined. Add new groups via data files; modders can’t create them at runtime.
  • .enemy may be null. Some groups are positive-only (rescue, transport) without an enemy. Always null-check before dereferencing.
  • Group ID is the canonical reference. Use missiongroup.X rather than ad-hoc string comparison.
  • Faction.faction and .enemy accessors.
  • Mission framework — gm_* and rml_* cues use mission groups for thematic clustering.