I know it might not be the right name for the topic, but i'm going to post some of questions and figured to give it all one name instead of creating a new thread every time.
Please take into account that my scripting knowledge is very minimal and i am just starting to learn.
What i wish to to do is create a script that will check the players equipment, if he has a radio then add a marker that can only be seen by other players that have a radio.
I can guess that things like this have been done before and more then once
but i'm hoping to make this a learning exp. for me.
i decided to start simple.
playerlist is a trigger
radio_units = [];
{
_x_weapons_arry = weapons _x;
if ("ACE_ANPRC77_Alice" in _x_weapons_arry) then {radio_units = radio_units + _x};
} foreach playerlist
i get an error saying that "Error then: type string, expected array,code"