# Intro to Mission Scripting

Learn how mission creation and scripting works in the GEM RTS engine, including gameplay logic, triggers, tasks, and mission setup workflows, demonstrated using Men of War II as an example.

Episode Breakdown:

* Player - 0:25
* Spawning Units - 1:18
* Placing Infantry - 2:30
* Simulation Mode - 3:41
* Triggers - 5:33
* Text Browser - 6:59
* Tasks - 9:17
* Waypoints - 12:35
* Testing - 14:23

{% embed url="<https://youtu.be/IJHBn8Q5k3U?si=QV6T3VNu1kWksaxh>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bestway.com.ua/mod-development/modding-guides/intro-to-mission-scripting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
