LUA Syntax Help (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


bearhunter007 -> LUA Syntax Help (4/2/2017 10:24:56 PM)

When I run the following command in the script console I get and error. The error says expected ")" before the equals sign.

local mission = ScenEdit_AddMission('Merchant','Merchant05A','Support',zone={"CR-02","CR-03","CR-04"})

Any suggestions?

Thanks




michaelm75au -> RE: LUA Syntax Help (4/3/2017 10:59:48 AM)

IIRC,the mission specific attributes are in a table:
local mission = ScenEdit_AddMission('Merchant','Merchant05A','Support',{zone={"CR-02","CR-03","CR-04"}})




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.9375