Persist location of editor placed units?

  1. 6 years ago
    Edited 6 years ago by dev614

    Hey, I was wondering if anybody could help me figure out how to persist the location of AI groups placed in the editor. I use high command to control these AI groups, so when I save a mission with my whole platoon out with me, and restart with just the headquarters with me... it can be an issue. Any help would be appreciated!

    Also, is there a way to set ALiVE to save a custom variable when clicking "save and exit server"?

    EDIT: Okay so I got the locations to persist, I just need a reliable way of saving their position variable now. Right now I just use a radio trigger named "Save Unit Positions" which works fine, but I'd rather it do it autonomously so is there some sort of event handler I could use that could run the code to save the position variables?

    The ideal setting would be to save the variable when saving everything else, but I can't seem to figure that out.

 

or Sign Up to reply!