Question on some functions showing up in the Lua Console

All discussions & material related to Command's Lua interface

Moderators: angster, RoryAndersonCDT, michaelm75au, MOD_Command

Post Reply
trupright
Posts: 10
Joined: Wed Oct 06, 2021 8:40 am

Question on some functions showing up in the Lua Console

Post by trupright »

Hi everyone,

Sort of full of questions these days... Scrolling through the list of functions available in the Lua script tool, I notice that there are several functions included which are not defined in the Command Lua Docs site.

I'm looking to create a countdown of sorts and I see some functions like VP_RunIForTimeAndHalt() or VP_RunToTimeAndHalt() which seem like they could be useful, but without any references, am not sure exactly what they do or how to best
call them.
Is there a further reference location available for added Lua functions?

Thank you!
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Question on some functions showing up in the Lua Console

Post by KnightHawk75 »

They are a few that while they show up as registered public function are actually internal, I've not had chance to look in the last week or too (builds .34\.35) but sounds like that may be the case for those two (or they are WIP), as well as the more long standing toolwindow one.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Question on some functions showing up in the Lua Console

Post by michaelm75au »

What version are you looking at? I don't see those in 1.04
Michael
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Question on some functions showing up in the Lua Console

Post by KnightHawk75 »

Looked tonight I don't see'em in 1147.35 either (maybe user has professional?, or older CMANO?).

trupright
Posts: 10
Joined: Wed Oct 06, 2021 8:40 am

RE: Question on some functions showing up in the Lua Console

Post by trupright »

It is Professional Edition, v2.03.6 - I'll do some experimentation and see what I can work out on it. Thank you!
Post Reply

Return to “Lua Legion”