I've tried the command below and it doesn't work. I don't see anything in the LUA documentation, other than the formation wrapper.
Any help would be appreciated.
Code: Select all
local myside = 'VMF'
local myname = 'udaloy'
local mygroup = '7.43 OE'
ScenEdit_SetUnit({side=myside,unitname=myname,{type='Fixed',bearing=0,distance=1}})
local u = ScenEdit_GetUnit({side=myside,name='udaloy'})
print(u.formation)
{ guid = 'CX08W2-0HN4UEDH4RO9Q', bearing = 58.5990600585938, type = 'Rotating', distance = 223.577117919922, latitude = 72.511048649907, sprint = 'False', longitude = 13.5457108161504 }