Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

manual attack

 
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 Legion >> manual attack Page: [1]
Login
Message << Older Topic   Newer Topic >>
manual attack - 10/11/2021 9:29:33 PM   
orca

 

Posts: 501
Joined: 11/6/2013
Status: offline
I'm trying to initiate a manual attack but get an error message. It's likely a very simple mistake but I can't figure what I'm doing wrong. Does anyone know how to correct the script?

my script:
ScenEdit_AttackContact(guid='2QQSQX-0HMCAJOPHJF4L', guid='2QQSQX-0HMCAJOQ9T8GB',{mode='2', mount=3263, weapon=3716, qty=8})


my error: which corresponds the the above script line
ERROR: [string "Console"]:5: ')' expected near '='


thanks
Post #: 1
RE: manual attack - 10/11/2021 10:41:42 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
You've specified table format in the first two params when they're just strings for the attackerunitguid and contactguids.

ScenEdit_AttackContact('2QQSQX-AttackerGuidF4L', '2QQSQX-contacguidT8GB', {mode='2', mount=3263, weapon=3716, qty=8});

(in reply to orca)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> manual attack 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

5.070