Should this code work!
CODE: this addAction[" Acquisition Request for Personnel", " recruitment.sqf", nil, 6, True, True, "", "(_target distance _this) < 4 && _this == name of unit"]
Now will the player with the name of the unit be the only one to see the action and use it.
Yea sorry, was working from my phone when I replied, hoping that you could figure it out :P:
//in SL's init field
this setVariable ["allowRecruitment",true];
//action
this addAction
[
"Acquisition Request for Personnel",
"recruitment.sqf",
nil,
6,
true,
true,
"",
"(_target distance _this) < 4 && _this getVariable ['allowRecruitment',false]"
];
And with what I said earlier I wasn't whole-fully clear on what you had done, but get/set variable would have been my preferred method anyhow.