I am trying to find the .galaxy files for the 'default' AI and paste them back in as my own triggers/functions so that I can tweak it. I figured the easiest thing to do would be follow whatever function the default startup trigger calls and get the galaxy code for it. However, I'm stumped because the function that gets called in the default mapinit trigger is 'meleeinitAI()' which I am unable to find in any of the .galaxy files using the MPQ editor. There's plenty of AI related .galaxy files like 'meleeAI.galaxy' and 'terran.galaxy' but I can't figure out how the default trigger is calling them. Does anyone know a) where to find the functions the default trigger calls or b) what function in meleeAI.galaxy I need to call with a custom trigger to get the AI rolling?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am trying to find the .galaxy files for the 'default' AI and paste them back in as my own triggers/functions so that I can tweak it. I figured the easiest thing to do would be follow whatever function the default startup trigger calls and get the galaxy code for it. However, I'm stumped because the function that gets called in the default mapinit trigger is 'meleeinitAI()' which I am unable to find in any of the .galaxy files using the MPQ editor. There's plenty of AI related .galaxy files like 'meleeAI.galaxy' and 'terran.galaxy' but I can't figure out how the default trigger is calling them. Does anyone know a) where to find the functions the default trigger calls or b) what function in meleeAI.galaxy I need to call with a custom trigger to get the AI rolling?