Jump to content

Recommended Posts

Posted

I'm just starting out with lua scripting in missions and so far have been forced to try to search here for someone doing something similar to what I want to do every time I want to try to do something. For instance I didn't know there was a unit:getPosition function available within the standard DCS scripting environment and stumbled across it by chance while trying to figure out how to get a units altitude. I tried a google search today looking for getPosition().p in the hope I'd find a comprehensive list of this sort of thing but the closest I found was this small 2011 thread http://forums.eagle.ru/showthread.php?t=81536

 

It's incredibly frustrating to be starting out and feel (from my viewpoint anyway) like almost everything is hidden from you and has to be dug out piece by piece

 

Is there a more complete and up to date listing of the info Speed gives in the above link out there? He talks about doing a _G dump of the scripting environment but never had time to do so in the above thread, can anyone point me to another place where it can be found. I imagine it would also help a whole crowd of other people trying to work on scripting in DCS missions.

 

Thanks for any help anyone can give.

Posted

Thanks for the link to Hoggit's page. I had seen it before but didn't bookmark it. (It is now.:) ) I like it better -- it's easier to read.

Posted

Thankyou to both of you particularly for the link to the thread from 2012. I had read the wikis and while they certainly help things like getPosition and presumably many other bits and pieces aren't mentioned. I guess it looks like I've got 15 pages of thread to read up ;D

 

I hope sometime soon someone from the dev team can do this _G dump thing Speed talked about as it sounds like that would give a full list even if it didn't explain each function much.

 

Cheers,

Stonehouse

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...