JacobJ 10 Posted October 15, 2010 Hey I have a blue and a red team and I want to make the blue team into a group and then brief them for a mission. I have tried this to group them: _gpW = [cmd2, w1, w2, w3, w4, w5, w6, w7, w8, w9, w10]; wich I have placed in the init.sqf file. In the briefing.sqf file I have this: _gpW createDiaryRecord ["Diary", ["Chernogorsk", "bla bla"]]; tskobj1 = _gpW createSimpleTask ["Clean the city"]; tskobj1 setSimpleTaskDescription ["blabla.", "Clean the city", "Clean the city"]; But it doesnt work. If I put a specific player name in, insteed of the _gpW it works, but I dont want to have a big briefing.sqf file if I can avoid it by grouping the players and brief them together. /Jacob Share this post Link to post Share on other sites
shuko 45 Posted October 15, 2010 init.sqf: gpW = [cmd2, w1, w2, w3, w4, w5, w6, w7, w8, w9, w10]; briefing.sqf: waituntil {!isnull player}; if (player in gpW) then { player createDiaryRecord ["Diary", ["Chernogorsk", "bla bla"]]; tskobj1 = player createSimpleTask ["Clean the city"]; tskobj1 setSimpleTaskDescription ["blabla.", "Clean the city", "Clean the city"]; }; Share this post Link to post Share on other sites