Jump to content
  • 0

Broadcast message WAI Help


deltagi

Question

So I have been thinking of things to add to my server and I want to make a new system to show the AI missions that are newly made. Such as

"Blah Blah mission is up go get the gold, Check map for location" -WAI

So I want to take the infistar broadcast message and use that with WAI to message the whole server in a more good looking way.

	adminmsg2 =
	{
		createDialog 'RscDisplayPassword';
		ctrlSetText [1001,'BroadCast Message Plugin'];
		ctrlSetText [101,''];
		ctrlshow [1002,false];
		buttonSetAction [1,'PVAH_AdminReq = [91, player, toArray(ctrlText 101), ''#FFCC00'']; publicVariableServer ''PVAH_AdminReq'';'];
	};

That is the colored broadcast message for infistar and I was wondering how I could use that in the WAI missions plugin that looks like this for its message system.

//Condition
	_complete = [
		[_mission,_crate],	// mission number and crate
		["crate"], 			// ["crate"], or ["kill"], or ["assassinate", _unitGroup],
		[_vehicle], 		// cleanup objects
		"Heroes have taken an armed vehicle from the bandits! Check your map for the location!",	// mission announcement
		"Bandits have secured the armed vehicle!",													// mission success
		"Bandits did not secure the armed vehicle in time"										// mission fail
	] call mission_winorfail;

I know most styling languages so how would I go about making it look like infistars broadcast message.

 

I know this is possible because a old server I used to play on had this. If I can get something that looks close that would be awesome thanks!

-Aurora

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...