Compositions Listenable Events

  1. 4 months ago

    Hey guys, I've written a logistics system for the group I play with and I have been trying to find a way to tap into the ALiVE custom compositions. something to the effect of an event handler for if say a weapons depot, recruitment HQ or other ALiVE composition is disabled this will fire off and depending on which type is disabled attribute _X number of points to the team for having completed that objective. I feel there is likely a listenable event for this as when they're disable there is a pop up saying who disabled it, what it was, and where it was but I've just not been able to find it in the repository. Any help would be appreciated thanks.

  2. marceldev89

    May 21 Moderator

    Just checked and that specific part doesn't fire any events unfortunately. Perhaps in the future. For now you'll have to monitor all buildings and check if variables on that building change or something similar to that. addons/mil_opcom/fnc_INS_helpers.sqf is the file you're looking for.

    Feel free to create a ticket on GitHub for the events thingy and someone will pick it up at some point. :)

  3. Edited 4 months ago by TheDragon117

    Marcel, thanks for the information, I'll take a look into that file and see if I can't find a way to make that work for me. I'm not sure how to go about making a request on the Github as I've never done that before. usually I just use it to try and understand things better.

  4. marceldev89

    May 21 Moderator

    Created a ticket for you at https://github.com/ALiVEOS/ALiVE.OS/issues/517 . Feel free to add anything to it if you want to. :)

  5. Thanks Marcel I'll take a look.

  6. 2 months ago

    https://github.com/ALiVEOS/ALiVE.OS/issues/517#issuecomment-407927427

    Sorry we missed last update.

  7. Awesome! Things take time I hope that lots of people will find that as useful as I do. The response is great!

 

or Sign Up to reply!