beno_83au 1369 Posted March 3, 2018 Having had a look around, and having never dabbled in squad.xml files, I've come to the hopeful conclusion that the following will add a squad's picture to a flag, if one exists: initServer: if (count (squadParams (leader _playerGroup)) > 0) then { if ((((squadParams (leader _playerGroup)) select 0) select 4) != "") then { _flag setFlagTexture (((squadParams (leader _playerGroup)) select 0) select 4); }; }; The aim is to have a player's squad picture assigned to a flag at the beginning of a mission. Will this work? Thanks. Share this post Link to post Share on other sites
loopdk 92 Posted March 3, 2018 why not just load them as flag as .paa?? Share this post Link to post Share on other sites
johnnyboy 3797 Posted March 3, 2018 This is worth a try: _flag setFlagTexture = [ player ] call BIS_fnc_getUnitInsignia 2 Share this post Link to post Share on other sites
Grumpy Old Man 3547 Posted March 3, 2018 The original example works, just make sure you test it on at least locally hosted MP, not in SP editor. Cheers 1 4 Share this post Link to post Share on other sites
beno_83au 1369 Posted March 3, 2018 Thanks guys. When I'm off shift in a few days I'll have a go at setting up a squad.xml and try them out. Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted March 4, 2018 12 hours ago, HazJ said: That flag... Best flag ever!! Share this post Link to post Share on other sites