Jump to content
Sign in to follow this  
Fang

Objectives

Recommended Posts

Hey guys... I have question, I am making mission in which i have to join squad and when i join the squad the objective may be completed.. does anyone know any script when i join squad or lead squad so the objective will be completed ?

Share this post


Link to post
Share on other sites
if (player == leader group groupName) then {taskName setTaskState "Succeeded";};

Share this post


Link to post
Share on other sites

Yes just as Luki has said. Except for one tiny error. It should be:

if (group player == groupName) then {taskName setTaskState "Succeeded";};

Edited by Iceman77

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  

×