Sync Created Units With Profiling System

  1. 10 years ago

    Title says it all really :P I have it set to All units except synced, so if I create a unit on the fly then it gets profiled, but for this particular unit I don't want him to. So I guess it's how to de-profile...

    Thanks in advance guys :)

  2. have you tried syncing to the Virtual AI module? that will do it. how are you creating the unit?

  3. 9 years ago

    The unit's created via script, so it doesn't exist when the module initialises, which is the issue. I think it'd have to be something ALiVE adds into their framework tbh :/ Still, I've found a workaround by placing the unit in the editor hidden and moving him there, which works for now but not ideal if I wanted to sync large amounts of units to the profiling system..!

  4. i don't know if it fits your needs but anyway .. tryed this ?

    [] call ALIVE_fnc_createProfilesFromUnitsRuntime;
    Profiling all non profiled units on the map
    http://alivemod.com/wiki/index.php?title=Script_Snippets

 

or Sign Up to reply!