LUA Console Help
Posted: Fri May 18, 2018 2:16 pm
I am trying to learn how to use LUA console and the first command I tried (ScenEdit_FillMagsForLoadout('{unit='King Khalid Air Base', loadoutid=16947, quantity=12}')) is not working. I am getting an error message that reads >> ScenEdit_FillMagsForLoadout('{unit='King Khalid Air Base', loadoutid=16947, quantity=12}')
ERROR: [string "Console"]:1: ')' expected near 'King'
I am trying to load a select weapons loadout for an aircraft that I have in the hanger and the said above Airport. I was looking for an easier way to calculate how much ammo should be stored in the magazines and found this code.
Can anyone please help me in this, Thank You
ERROR: [string "Console"]:1: ')' expected near 'King'
I am trying to load a select weapons loadout for an aircraft that I have in the hanger and the said above Airport. I was looking for an easier way to calculate how much ammo should be stored in the magazines and found this code.
Can anyone please help me in this, Thank You