Jump to content
Sign in to follow this  
feldmaus

communication between external programs and the arma 2 client

Recommended Posts

Hi,

is there a way to trigger self-made functions/scripts on my Arma 2 client by external programs? Howto? Hints? Links?

regards

Share this post


Link to post
Share on other sites

The only possible way to communicate with external processes is using callExtension

An "extension" is a DLL-File you'll have to compile and put into your Addons' root folder. Using callExtension, you can refer to your DLL-File and exchange data.

If you want to "trigger" callbacks/events and alike in your scripts by this extension, you either have to regularely execute callExtension (polling) or use synchronisation methods (mutex/semaphor) in your dll to actually halt the execution until you have information to deliver to your script - but I didn't test wheather this actually works, I don't know if callExtension is a synchronus call or not :S

More information upon creating and rules to consider can be read in the BIKI article.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×