Jump to content

Recommended Posts

Posted (edited)

I’m wanting to make some static items hidden until a trigger is initiated. How can I do this right now I have it this far but can not find the correct action must will work with unit items but not static . Why would the allow you to

 

Ok figured out how the trigger should work but the items are hidden in the me but when you go fly the mission they’re there from the start I’m using a time more trigger set to 120 but I jump right to the area and they are showing from the start.

Edited by BlacleyCole

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Posted

Dang I guess it’s time to dip my toe in the mist pond siince the me method is inop at this time

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Posted

Ok I’ve been holding off on scripting until I somewhat mastered he native commands

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Posted

local staticObj = {... your_object_data ...}

 

coalition.addStaticObject(1,staticObj)

 

That is native DCS code, just FYI. The link above is documentation and examples for the SSE (Simulator Scripting Engine) which runs DCS.

 

You can add your object data and run that command in a DO SCRIPT container if you're ready to enter the wild world of .lua

 

The link above shows the exact syntax and which values are required/optional.

Posted

So if I get this right I don’t add it normally but thru script? If so I guess I can make a loop to load each item if I supply type ,name, position, etc? Can you use an array to supply the information or will I have to cut and paste the script over and over or is only one iteration allowed per do scriptbox so I would need to creat a new action for each item?

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Posted

You can absolutely use arrays and loops. The simplest way is to use local variables and one-off DO SCRIPT containers, but if you want more complexity the possibilities are there. It sounds like you're getting into CTLD territory though, so you might want to check that out and make sure you're not writing a bunch of code that does something someone else has already put together.

Posted

Yeah I’m just looking into mist and ctld right now my problem was the native process isn’t working which would be great if it did. My next learning task is getting the ai helos to pickup and drop off items. I tried getting the mi-8 to pick up the metics and drop off them off at the farp but it isn’t working one problem was the mi-8 wouldn’t land where the medic were for some reason. I’m going to move them to a more level area to see if that helps. I have the mi-8 set to excellent ability/pilot

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Posted

I have the pdf doc for mist is there a pdf for ctld?

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

  • Recently Browsing   0 members

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