chromium Posted August 23, 2017 Posted August 23, 2017 Hi, does anyone know how to change the scripting environment while running a chunk? what I need to get is to access and use all the SSE function ("mission" env) during the simulation while loading a script in another environment (like export env or gui env). thanks in advance. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
chromium Posted August 24, 2017 Author Posted August 24, 2017 and to add an info... seems I can't do that using net.dostring_in (used with a dofile function that load a .lua file, but the code in the lua files seems not recognized by scripting env.) Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Ciribob Posted August 24, 2017 Posted August 24, 2017 From gameGUI you can only do inbuilt commands in the mission environment, outText, flag functions etc All custom user code can't be accessed i.e tables and functions you create yourself. If it can, I've never been able to figure out how. Have a look at my slot blocking script gameGui, shows accessing flags which can easily be modified to be anything else :) Sent from my ONEPLUS A3003 using Tapatalk Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
chromium Posted August 26, 2017 Author Posted August 26, 2017 I will, hope that could help. My coding dream right now is to be able to build up DAWS whitout having to touch any ED files, and this thing of MissionScripting.lua is the last milestone I have to reach. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts