Event Handler for spawned AI

  1. 8 years ago

    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.

  2. Edited 8 years ago by SpyderBlack723

    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.

  3. Thank you, that's exactly what I was looking for.

 

or Sign Up to reply!