Main Menu – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="cpp">class RscDisplayMain: RscStandardDisplay { class Spotlight { class ApexProtocol { text = "Coop Campaign"; // Text displayed on the square...")
 
mNo edit summary
Line 3: Line 3:
class Spotlight
class Spotlight
{
{
class ApexProtocol
class CoopCampaign
{
{
text = "Coop Campaign"; // Text displayed on the square button, converted to upper-case
text = "Coop Campaign"; // Text displayed on the square button, converted to upper-case

Revision as of 16:55, 14 June 2016

class RscDisplayMain: RscStandardDisplay
{
	class Spotlight
	{
		class CoopCampaign
		{
			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
		};
	};
};