{"name":"globalChat","operator":null,"title":"globalChat","type":"command","url":"https://community.bistudio.com/wiki/globalChat","revid":376771,"updated":"2025-11-17T00:04:34Z","groups":["Radio and Chat"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"description":"Types text to the global radio channel. The text will be visible only on the PC where command was executed. If you need the message to show on all computers, you have to execute it globally (see remoteExec). Use clearRadio to clear chat history","syntaxes":[{"syntax":"unit globalChat chatText","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"unit transmitting message","types":["Object"],"since":null,"text":"unit: Object - unit transmitting message"},{"name":"chatText","type":"String","optional":false,"default":null,"description":"message to transmit","types":["String"],"since":null,"text":"chatText: String - message to transmit"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"chatText","types":["String"]}}],"examples":[{"text":"```sqf\n_soldierOne globalChat \"Show this text\";\n```","code":["_soldierOne globalChat \"Show this text\";"]},{"text":"```sqf\ndriver vehicle player sideChat \"sideChat\";\ndriver vehicle player globalChat \"globalChat\";\ndriver vehicle player groupChat \"groupChat\";\nvehicle player vehicleChat \"vehicleChat\";\ndriver vehicle player commandChat \"commandChat\";\ndriver vehicle player customChat [1, \"customChat\"];\nsystemChat \"systemChat\";\n```","code":["driver vehicle player sideChat \"sideChat\";\ndriver vehicle player globalChat \"globalChat\";\ndriver vehicle player groupChat \"groupChat\";\nvehicle player vehicleChat \"vehicleChat\";\ndriver vehicle player commandChat \"commandChat\";\ndriver vehicle player customChat [1, \"customChat\"];\nsystemChat \"systemChat\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["sideChat","groupChat","vehicleChat","commandChat","customChat","systemChat","globalRadio"],"notes":[{"user":"Ceeeb","date":"2007-01-31T04:47:00Z","text":"In **OFP 1.96**, this command can be used by a Game_Logic unit, which will result in the text being displayed on screen without any  indication of the side of radio source, or quotation marks. For example : *gamelogic1 globalchat \"hello world\"* will create the text *hello world* in the radio log."}],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Radio and Chat","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}