Jump to content
Sign in to follow this  
genpatton043

Composition Units No Longer Working in CO?

Recommended Posts

Its been awhile since I messed with these but I was going through the library and the composition feature today.

Using it seemed easy in the past as you only really had one call to use to activate it. That being;

_newComp = [(getPos this), (getDir this), "FuelDump1_US"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectMapper.sqf"));

Of course that was for the US Fuel dump and when used in game, that works fine. But when you use another name in its place, for example. "vehicle_park_ru1" it comes back as "Script not found"

I am using ACE 2. Could that be an issue?

Share this post


Link to post
Share on other sites

same problem.

Script CA\modules_e\DynO\data\scripts\compositions\FuelDepot_US_EP1.sqf not found

Share this post


Link to post
Share on other sites

Well, after searching in the pbo's and extracting all scripts and looking into them, I couldn't really find the problem.

Until... I noticed the blank in your string between the .sqf and the closing quotation sign, apparently there's no trimming when specifying script locations.

So the following code works without problems:

_newComp = [(getPos this), (getDir this), "FuelDump1_US"] execVM "ca\modules\dyno\data\scripts\objectMapper.sqf";

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  

×