Jump to content
Sign in to follow this  
Arvic92

Simplest to broadcast a message globally

Recommended Posts

I want to broadcast a simple text message via commandChat function and/or hint to all clients on the server. Ideally I would pass the message as a parameter to another script (not necessarily from init).

1.What is the absolute simplest way to do this?

2.What is the easiest way to test this (I don't own windows server 2003+)

3.(after telling me the simplest way) What is the safest way to do this?

Share this post


Link to post
Share on other sites

1

[{someUnit globalChat "hey"},"BIS_fnc_spawn,true,false] call BIS_fnc_MP

2. You can set up your own dedicated without using windows server 2003...

http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-on-a-dedicated-server

3.

Creating a specific function to do it init.sqf

ARV_fnc_globalChat = {
(_this select 0) globalChat (_this select 1);
};
// later on
[[someUnit,"Hello"],"ARV_fnc_globalChat",true,false] call BIS_fnc_MP;

Share this post


Link to post
Share on other sites

thank you that pointed me in the right direction though i couldnt get your exact code to work for whatever reason.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×