Jump to content
Sign in to follow this  
SaintPier

prevent <unit x> join player

Recommended Posts

Hi all,

I made this mission where a unit does some stuff at the beginning of the mission. After that he runs away. I delete the unit when he's out of sight.

But when the leader (maybe other players to) comes close to the unit an action apears unit join player. But i don't want that, because this will stop his actions. I don't want the leader to gain control over that unit. Is there a way to prevent that action?

THX

SaintPier

Share this post


Link to post
Share on other sites

If like STGN suggested, you are indeed playing with ECP or a mod based on ECP, to remove the join action you need to open the ECP_Settings.sqf located inside of the @ECP mod folder.

Find those lines :

//ECP_public set [33, false ];

//ECP_public set [35, false ];

//ECP_public set [36, false ];

And remove the // that is in front of those lines, so they would look like this :

ECP_public set [33, false ];

ECP_public set [35, false ];

ECP_public set [36, false ];

This way no more ECP AI joining/leaving the player squad on player's command.

Share this post


Link to post
Share on other sites

Thx for the replies.

Indeed i have the ECP mod installed.

I also found the option in ECP options. But i created a MP mission, and don't want others to have the option available also.

If i want to use RemoveAction, i need an index of that action, right? Is there a way to search for specific actions in the list?

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  

×