I have a mission where I have an optional objective that may or may not appear depending on how the mission happens.
If the objective does get created but the player chooses not to do it then I set the task as Cancelled but if the objective does not get activated the objective still gets set as cancelled but I get an error since the objective is an undefined variable because I create the objective if it's needed.
How do I check if the optional objective has not been created and if so skip the line that changes it to cancelled... I'm not great with this whole .sqf editing method, would be easy in .sqs but I'm trying to get with the times and learn
Speaking of which is there a guide to .sqf editing anywhere?
Cheers.