Is there any event handler ALiVE adds for when it spawns AI units? This would be very useful to then attach EH's to those units automatically or reassign their gear, etc.
Is there any event handler ALiVE adds for when it spawns AI units? This would be very useful to then attach EH's to those units automatically or reassign their gear, etc.
You can use the CBA XEH system, there's an example on the wiki here
The example my_script is a bit (a lot) "outdated" but you get the idea. I would also recommend putting the executed file in a function instead of using call compile.
Thank you, that's exactly what I was looking for.