Forum Jump :

Author Message


Posts: 29
Rank:


Level: Member

Country: de
Location: Berlin, Germany
Occupation:
Age:
In-game name:

 
#190559 Posted at 2016-06-30 16:55        
     
I m sure that my above code should work and that it is independent from any mod.
It could be a timing problem, maybe ACE isnt initialized at the moment the code starts.
u could try somethimng like this:


waitUntil{sleep 0.5; BIS_fnc_init};
fnc_handle_medic_script = compileFinal preprocessFileLineNumbers "yourscriptname.sqf"
{
 [_x, (units _x)] spawn fnc_handle_medic_script;
 true
} count (allUnits - allPlayers);

Sarogahtyps Spawn Script Creator - SSSC
the easy way to cache ur units, vehicles and their waypoints