New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lower level interfacing #16
Comments
This is just for calling python files from within arma. pythia doesn't have direct access to anything of the game's information (And can't do anything to the game itself). For that you'll need to wait till Intercept-python comes out. All the hooking into events is possible, but you'll have to add events yourself and just do a callExtension. Basically player addEventHandler ["Killed", { ['pythonFolder'] call py3_fnc_callExtension; or class cfgFunctions {
class YOURTAG {
class Category {
class someFunction { preinit = 1 };
};
};
}; as a normal preinit function. |
Thanks, Yeah I thought so, is intercept-python an ongoing project or is it a semi planned future project? |
To answer your last question regarding intercept: And to answer your previous question, besides what Adanteh already said: There was a branch that allowed you to call SQF code directly from python, albeit not very efficiently: The way it worked was to return to the SQF engine, perform the action and then to do a callExtension again. The current status of Pythia is that it is used as a testing ground for Dynamic Frontline, our mod that uses python to simulate a gigantic capture zone, and we're modifying Pythia according to the needs of that mod (or not modifying it because it currently works good enough for all our needs). However, if someone else comes in, with different needs, I may consider fixing the issues they are having and I will surely assist them should they want to submit PR or need assistance in doing so. To sum it all up: |
I would like to contribute to the development of Intercept-Python if at all possible, is there a repo that I could fork? |
Hi, I was about to answer you but I've just noticed that you've already found it. |
Hello,
If I am missing the point completely here I apologize, but is it possible to, for example create a group or unit in python directly? or just return primitive datatypes?
Is this possible currently, will it be possible, can I help make it possible?
and is it possible to hook into events such as pre init, post init and event handlers such as hit and killed?
Cheers.
Lonja
The text was updated successfully, but these errors were encountered: