SaintPier 10 Posted January 25, 2010 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
stgn 39 Posted January 25, 2010 Do you play with ECP? STGN Share this post Link to post Share on other sites
ww2weasel 10 Posted January 25, 2010 use removeAction to remove the action you don't want another player to use... http://www.ofpec.com/COMREF/index.php?action=details&id=262&game=OFP http://www.ofpec.com/COMREF/index.php?action=details&id=5&game=OFP Share this post Link to post Share on other sites
sanctuary 19 Posted January 25, 2010 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
SaintPier 10 Posted January 26, 2010 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