Main Menu – Arma 3

From Bohemia Interactive Community
Revision as of 16:54, 14 June 2016 by Str (talk | contribs) (Created page with "<syntaxhighlight lang="cpp">class RscDisplayMain: RscStandardDisplay { class Spotlight { class ApexProtocol { text = "Coop Campaign"; // Text displayed on the square...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
class RscDisplayMain: RscStandardDisplay
{
	class Spotlight
	{
		class ApexProtocol
		{
			text = "Coop Campaign"; // Text displayed on the square button, converted to upper-case
			picture = "\a3\Ui_f\Data\GUI\Rsc\RscDisplayMain\spotlight_1_apex_ca.paa"; // Square picture, ideally 512x512
			video = "\a3\Ui_f\Video\spotlight_1_Apex.ogv"; // Video played on mouse hover
			action = "ctrlactivate ((ctrlparent (_this select 0)) displayctrl 153);"; // Code called upon clicking
			actionText = $STR_A3_RscDisplayMain_Spotlight_Play; // Text displayed in top left corner of on-hover white frame
			condition = "true"; // Condition for showing the spotlight
		};
	};
};