Lua GetLoadout Roles
Posted: Tue Jan 21, 2025 8:08 pm
Goodevening,
This:
local l = ScenEdit_GetLoadout ({name='testLOweather', guid='KO61QJ-0HN9Q2IEBCB5B'})
print (l.roles)
Gives:
{ TOD = 0, role = 2007, weather = 0 }
Shouldn't TOD and weather be giving a number iaw: https://commandlua.github.io/assets/Dat ... tTimeOfDay
If I'm doing something wrong, apologise.
regards GJ
This:
local l = ScenEdit_GetLoadout ({name='testLOweather', guid='KO61QJ-0HN9Q2IEBCB5B'})
print (l.roles)
Gives:
{ TOD = 0, role = 2007, weather = 0 }
Shouldn't TOD and weather be giving a number iaw: https://commandlua.github.io/assets/Dat ... tTimeOfDay
If I'm doing something wrong, apologise.
regards GJ