Page 2 of 2

Re: Command lua documents

Posted: Thu Feb 16, 2023 10:41 am
by michaelm75au
Fixed the ReferencePoint link.
Web link file names are case sensitive; another case of using the incorrect case for the HTML file name. :oops:
Works fine when I tested on PC before committing to GitHub; the PC does care about case names.

Re: Command lua documents

Posted: Thu Feb 16, 2023 10:47 am
by michaelm75au
KnightHawk75 wrote: Tue Feb 14, 2023 9:25 pm Any chance we could get UI_SelectUnitPrompt_FromSides() and _OwnSide, and Tool_UIwindow docs?
I will look these up and create some document files for them. The two UI_Select... commands, I can't recall seeing in my docs list so it may have been added when I wasn't looking. :D

Re: Command lua documents

Posted: Tue Mar 28, 2023 1:56 pm
by GJV
Good afternoon,
Small and not important but is in the mission wrapper the subtype missing in the list?
https://commandlua.github.io/assets/Wra ... er_Mission
best regards GJ

Re: Command lua documents

Posted: Wed Mar 29, 2023 4:52 am
by michaelm75au
Subtype is only applicable to certain missions and that is shown under those missions.
http://commandlua.github.io/assets/Tabl ... ikeMission

Re: Command lua documents

Posted: Wed Mar 29, 2023 3:22 pm
by Parel803
Sorry for time wasted, understood.
best regards GJ

Re: Command lua documents

Posted: Thu Mar 30, 2023 9:01 am
by michaelm75au
That's okay. No matter how many times I review the Docs, I still manage to miss something. :D

Re: Command lua documents

Posted: Fri Mar 31, 2023 6:50 am
by Parel803
My lua knowledge is limited but like the ever evolving lua pages.
Thanks for all the hard work.
regards GJ

Re: Command lua documents

Posted: Wed Jan 31, 2024 8:30 pm
by Parel803
Good evening,

I'm sorry but I do not understand this one:
https://commandlua.github.io/assets/Fun ... oSide.html
The example looks different that the top line.
Does the side has a setting for a colour alert?

And very small at my side (is this country dependend):
https://commandlua.github.io/assets/Fun ... tness.html
The examples has different " " and giving: ERROR: [string "Console"]:1: unexpected symbol near '<\226>'

best regards GJ

Re: Command lua documents

Posted: Mon Mar 11, 2024 7:52 pm
by Parel803
Good evening,

Realizing I probably missed it but are the condition/condition_v listed somewhere?
https://commandlua.github.io/assets/Wra ... apper_Unit
If not would it be possible or isn't it of much value?

regards GJ

Re: Command lua documents

Posted: Sat Jun 08, 2024 7:17 pm
by Parel803
Good evening,

A question on: https://commandlua.github.io/assets/Fun ... Point.html

In the 2nd example it states: clear=true
Just wondering the function for this.

regards GJ

Re: Command lua documents

Posted: Sat Jan 04, 2025 4:37 pm
by Parel803
Good afternoon,

I'm not sure but in the loadout wrapper for weather and Time of Day there might be a diffenrence between the site and the game.
For me it looks like the return for these two when: AllWeather and DayAndNight are 0 instead of 2001.
https://commandlua.github.io/assets/Dat ... tTimeOfDay
https://commandlua.github.io/assets/Dat ... outWeather

Please disregard but question:

local l = ScenEdit_GetLoadout ({name='testLOweather', guid='KO61QJ-0HN9Q2IEBCB5B'})
print (l.roles)
gives: { TOD = 0, role = 2007, weather = 0 }
DB gives: Day Only, Limited All Weather.

How do I get the correct numbers?

regards GJ

Re: Command lua documents

Posted: Sun Jan 05, 2025 1:38 pm
by Parel803
Good afternoon,

For this: https://commandlua.github.io/assets/Fun ... eryDB.html
It might be missing a link to the wrapper and info it can come up with?
Guess to this: https://commandlua.github.io/assets/Wra ... per_Weapon

Question is the https://commandlua.github.io/assets/Dat ... WeaponType here the subtype in the QueryDB?

Sorry if this is not usefull,
regards GJ