Discovering the Most Unknow LUA "Parameters" (?)

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rai López
Posts: 2298
Joined: Sun Aug 08, 2004 5:41 am
Location: Spain
Contact:

Discovering the Most Unknow LUA "Parameters" (?)

Post by Rai López »

HelloOo, normally, when I need to know about some of the undocumented Lua functions or parameters of whatever it names, I use THIS wonderful myles's menu script that let you export almost all of them into an html file so, in that way, then I can use the browser search engine for quick consults or even print it in paper to have it at hand, but... For some reason, it seems like if some of this "parameters" be ignored or not taken into account and it seems not possible to know (unless you be very VERY lucky and you guess correctly it) its existence. I'm referring, in example, to this kind of "parameters":

fNoisyLines, fNoisyShapes, fAnimatedNoise...
fGapFilling
fExcludeLinesFromMask


And so... Curiously all of them starting with that great? f... (that I don't want to imagine what it'll mean :roll:). Well, the fact is I'm concretely going after the new added vector layers 3D settings that I need to have access and until now, and after several & several tries, I have been (only) able to guess this:

f3DMode

That provides the 3D conversion mode (Extrude, Lathe, etc...) used for the 3D vector layer interpretation. Of course, not so lucky with the others I need :( (yet) but, anyway, this is an insane method and I'd like to know if could be a way to obtain each and everyone of this parameters in the similar (or not) way we can obtain the others, you know by means of menu "Scripts --> Script Writting --> "Print Moho API"/"Print Moho Globals"/"Fazek's Print Value..."or (as I still said) myles's"Print Moho API, modified"", or any other you know... or who knows if adding some variant, little modification or whatever...

Really, it'll be a super time saver (apart of the intrigue of know why they'll be so hidden) and, of course, it would help to (enormously) alleviate the lack of information, that's all... THANKS!
...
Post Reply