manual attack (Full Version)

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



Message


orca -> manual attack (10/11/2021 9:29:33 PM)

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




KnightHawk75 -> RE: manual attack (10/11/2021 10:41:42 PM)

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});




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.875