Endgame revive could be usefull to AI units too, using a command like :
[UNIT1] call BIS_fnc_reviveInitialize