Jump to content

Event handlers - Are there any for sling cargo being attached or lifted into air


Recommended Posts

Posted

Howdy folks, Trying to do some stuff with cargo sling loading

I want to be able to work out when cargo is hooked / lifted.

 

Are there any Events that can be used to trigger stuff in DCS scripting engine ?

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted (edited)

I am looking to do this in the DCS scripting engine not in the ME,

 

hoping there is some event handler for this stuff .... undocumented thus far

thanks for replying tho

Edited by HC_Official

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted (edited)

been helping test the moose stuff for nearly 2 years now

was asking about the DCS scripting engine event handlers in the hope they had something to handle this

Edited by HC_Official

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted
MOOSE ultimately uses DCS scripting engine functions.

 

Check the MOOSE scripts used by missions like the one from the video, chances are you'll be able to write the same kind of thing using standard DCS code.

 

Lols, you do realise that the video you linked is from our Clans youtube channel

and that I did the scripting of what you are seeing

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted
Lols, you do realise that the video you linked is from our Clans youtube channel

and that I did the scripting of what you are seeing

 

Of course I don't realize it, easy for you to make the connection, since you created the nickname and are a member of Havoc Company.

 

I stopped trying to make sense of people's nicknames on the internet long ago, HC might stand for "Hot Carrot", for all I know... :D

 

 

Anyway, looks like you have this one covered ;)

Posted

Hot Carrot lol , that my porno stage name

 

 

Back to mission making, trying to see if there is some internal DCS event triggered when cargo stuff happens

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted

Made a request for event handlers related to cargo and troop transport a while back. No update on it.

 

If you have a cargo object you should be able to use inAir() on it to see if it is on the ground or in air. If that fails then getPosition() ought to return accurately enough to determine that information.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

thanks for replying Grimes, hope we get those added to DCS some time .... soon

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

  • Recently Browsing   0 members

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