Jump to content
Sign in to follow this  
nullsystems

Call compile format syntax error...

Recommended Posts

Just real quick, and me being stupid as usual..

Quote[/b] ]call compile format [["vehAction =  vehicle%1 addAction ["someaction.sqs"],_vehicle];

or...

call compile "vehAction = playerVehicle addAction ["someaction","blah.sqs"]";

Could someone please explain why that doesnt work properly, im sure its to do with quotes. Im stuck sad_o.gif

The second one give an error "; expected at playerVehicle".

Share this post


Link to post
Share on other sites

call compile "act = playerVehicle addAction [""someaction"",[playerVehicle] exec ""vehlock.sqs""]";

Is there anyway to get that working without errors or can you not pass [playerVehicle] to the next script like that?

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  

×