CMANO - Using lua to change waypoints of a course

I wanted to make the ships leaving port take slightly different paths so we edit the waypoints using lua.

Posted on March 10, 2019


Additional Videos


CMANO - Looping Thru Units with Lua

Some examples of how to loop thru units using Lua in order to change things like the mission they are assigned to, or the units loadout.

CMANO Lua Basics

59 minutes of Lua code... so it went a little long.

CMANO - Some Basics of Setting up Things at the Start of a Scenario

Just some basics of setting up missions at the beginning of a scenario. Should have made another helicopter ASW mission around the Amphibious group. Scenario is Red vs Blue: Battle for Hispaniola.

CMANO - Creating Overlays

Creating overlays with GMAP and using Photoshop to clean them up so they match the rest of the game map.

CMANO - Using lua to control the path of a ship leaving port

Fairly simple lua exaple of changing the course of a unit, adding events, triggers and actions.

CMANO - Lua Functions with Return Values

Using Lua inside the game Command (CMANO) and how to use a function to return a value.

CMANO - Lua Tables

Some basics of using tables in Lua.

CMANO - Making a Basic Function

Using Lua inside the game Command (CMANO) to randomly move a ship/sub. Goes over creating the code and then how to wrap it into a Function for easier re-use.

CMANO - Lua - Unit Wrapper in Depth

Using Lua inside the game Command (CMANO) to dig thru a unit wrapper.