Setting Loadout
Posted: Fri Oct 09, 2020 11:25 pm
This is probably another simple syntax issue but I've messed around a dozen ways:
local a=ScenEdit_GetUnit({name='20th Esc de Tpt BAF', side='NATO Sp'})
ScenEdit_SetLoadout ({UnitName='a', LoadoutID=14481, TimeToReady_Minutes=60})
Just trying to set the loadout of a unit on a base. Returns that it can't find the unit.
Any ideas? Thanks
B

local a=ScenEdit_GetUnit({name='20th Esc de Tpt BAF', side='NATO Sp'})
ScenEdit_SetLoadout ({UnitName='a', LoadoutID=14481, TimeToReady_Minutes=60})
Just trying to set the loadout of a unit on a base. Returns that it can't find the unit.
Any ideas? Thanks
B
