ALiVE function for detecting if finished loading?

  1. 8 years ago

    Is there a function to detect if ALiVE has been fully loaded?

    The context of the question involves using it in conjunction with HETMAN. HETMAN cannot detect ALiVE combat support modules/units for exclusion purposes, when the exclusion parameter is contained in the init.sqf. Am thinking of putting the exclusion parameter in a trigger that would launch once it's detected ALiVE being fully loaded.

    Is this possible?

  2. Edited 8 years ago by SavageCDN

    Try this:

    waitUntil {(player getVariable ["alive_sys_player_playerloaded",false])};

    This should wait until the player unit is fully loaded (meaning ALiVE is also loaded).

 

or Sign Up to reply!