Jump to content

Recommended Posts

i want to edit the acm like this:

  Quote
waitUntil {!isNil {BIS_ACM getVariable "initDone"}};

waitUntil {BIS_ACM getVariable "initDone"};

[] spawn {

waitUntil {!(isnil "BIS_fnc_init")};

[1.0, BIS_ACM1] call BIS_ACM_setIntensityFunc;

[["CDF"], BIS_ACM1] call BIS_ACM_setFactionsFunc;

[bIS_ACM, ["acm1", "acm2", "acm3"]] call BIS_ACM_blacklistAreaFunc;

[0, 1.0, BIS_ACM1] call BIS_ACM_setSkillFunc;

where i put this to make it work? in the main init.sqf of somewhere else?

Share this post


Link to post
Share on other sites

Its not a good idea to put a pause or(waitUntil) in your init.

I would put it in a .sqf and then execVM that .sqf from the init.

Share this post


Link to post
Share on other sites
  Riouken said:
Its not a good idea to put a pause or(waitUntil) in your init.

I would put it in a .sqf and then execVM that .sqf from the init.

suspending wont harm the execution of init.sqf, unless the condition is never met. assuming he has the acm module down, using the waitUntil in the init is acceptable. It will just take a tiny bit longer to get out of the black screen upon loading up.

Share this post


Link to post
Share on other sites

Just because you "can" doesn't mean you "should".

It can and will lead to timing issues esp. In MP and jip.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×