From Weapons Release Wiki
Jump to: navigation, search

ScenEdit is a Lua function built in as a specialized method in CMO. It allows you, or your scenario, to access information or make changes to the scenario or campaign.

1 ScenEdit_AddUnit({type = 'Air', unitname = 'F-15C Eagle', loadoutid = 16934, dbid = 3500, side = 'Mercs', base='Home'})

The format and structure for each function can be found at the CommandLua Github. These functions can be run as an Event Action, Special Action, or through the Lua Script Console.