Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

LUA Syntax Help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> LUA Syntax Help Page: [1]
Login
Message << Older Topic   Newer Topic >>
LUA Syntax Help - 4/2/2017 10:24:56 PM   
bearhunter007

 

Posts: 23
Joined: 3/11/2017
Status: offline
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
Post #: 1
RE: LUA Syntax Help - 4/3/2017 10:59:48 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
IIRC,the mission specific attributes are in a table:
local mission = ScenEdit_AddMission('Merchant','Merchant05A','Support',{zone={"CR-02","CR-03","CR-04"}})

_____________________________

Michael

(in reply to bearhunter007)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> LUA Syntax Help Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.672