Skip to content

Instantly share code, notes, and snippets.

@James-Frowen
Last active January 5, 2024 12:13
Show Gist options
  • Save James-Frowen/fef12d60a8132418bdbe9c769bf6fd17 to your computer and use it in GitHub Desktop.
Save James-Frowen/fef12d60a8132418bdbe9c769bf6fd17 to your computer and use it in GitHub Desktop.

What do each Objectives and Outcomes do

The "Mission Start" objective is the entry point for the mission, it is created automatically and can not be removed. It should be used to start the first real objectives for your mission. Objectives will not be started unless you use the Start Objective Outcome.

When an objective is complete, all outcomes for that objective will be triggered.

If units are not in any Spawn Unit Outcome they will be spawned when mission starts instead.

Objectives

None

  • Completes immediately

Destroy Units

  • Completes when units in list are destroyed
  • Options:

Reach Units

  • Completes when any player in the faction comes in range of unit
  • Requires Faction
  • Options:

Reach Waypoints

  • Completes when any player in the faction comes in range of waypoint
  • Requires Faction
  • Options:
    • Complete Order (All, Any, In Order)
    • List of Waypoints
      • Position
      • Range

Wait Seconds

  • Completes after given delay
  • Options:
    • Time in seconds

Crash Aircraft

  • Not implemented, dont use this objective yet

Dialogue Box

  • Shows a pop-up box with dialogue
  • Completes after pressing ok
  • Options:
    • Title text
    • Body text
    • Ok button text
    • Show to Faction Only

Complete Other Objective

  • Completes after other objectives are also complete
    • Can be used to make sure player complete multiple other objectives before continuing
  • Options:

Outcomes

Start Objective

  • Options:
    • List of Objectives

Stop Or Complete Objective

  • Will stop other objectives running
    • In "Complete" mode the outcomes of the target objectives will run
    • In "Stop" mode objectives will be stopped without running their outcomes
  • Options:
    • Stop or Complete
    • List of Objectives

Show Message

  • Shows a message in the chat/kill feed
  • Uses the faction of the objective that triggered this outcome
  • Options:
    • Message text
    • Play sound effect
    • Show to faction only

Spawn Unit

  • Spawns units
  • Options:
    • List of Units

EndGame

  • Ends the game and declares victory for 1 faction
  • Uses the faction of the objective that triggered this outcome
  • Options:
    • Victory or Defeat

Other

Complete Order

Some objectives have the "Complete Order" option, this will decide when the objective will complete when it has multiple targets

  • Any completes after any target
  • All completes after all targets
  • InOrder completes after all targets, but targets must be completed in order

Debug menu

Use f2 to enable the debug menu to see what objectives are running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment