{"name":"setGroupIdGlobal","operator":null,"title":"setGroupIdGlobal","type":"command","url":"https://community.bistudio.com/wiki/setGroupIdGlobal","revid":369314,"updated":"2024-09-03T18:42:56Z","groups":["Groups"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.48"}],"since":{"game":"arma3","name":"Arma 3","version":"1.48"},"arma3_since":"1.48","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"description":"A global equivalent of  setGroupId.","syntaxes":[{"syntax":"group setGroupIdGlobal [format, keyword1, keyword2, ...]","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Object or Group","optional":false,"default":null,"description":null,"types":["Object","Group"],"since":null,"text":"group: Object or Group"},{"name":"format","type":"String","optional":false,"default":null,"description":"format template (e.g \"%keyword1 - %keyword2 / %keyword4 (%keyword3)\")","types":["String"],"since":null,"text":"format: String - format template (e.g \"%keyword1 - %keyword2 / %keyword4 (%keyword3)\")"},{"name":"keywordN","type":"String","optional":false,"default":null,"description":"keyword value","types":["String"],"since":null,"text":"keywordN: String - keyword value"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"group","types":["Object","Group"]},"right":{"text":"[format, keyword1, keyword2, ...]","types":["Array"]}}],"examples":[{"text":"```sqf\ngroup player setGroupIdGlobal [\"PAPA BEAR\"];\nhint groupId group player; // \"PAPA BEAR\"\n```","code":["group player setGroupIdGlobal [\"PAPA BEAR\"];\nhint groupId group player; // \"PAPA BEAR\""]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setGroupId","groupId","group"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Groups","Introduced with Arma 3 version 1.48","Scripting Commands","Scripting Commands: Global Effect"]}