Scroll Menu Tutorial

Posts 1–12 of 12 · Page 1 of 1
Scroll Menu Tutorial
There are already a few examples of this, but I just wanted to extend on this.

So what is a Scroll Menu? Its the simplest for of menu in Arma that is activated by scrolling. This is my first menu i've created for Arma 3. When I started scripting in Arma 3, it was hard to find a working scroll template that was simple enough for my needs, but was a little more advanced than Lystic's template, and a little less advanced than JME's, so I created this.

It includes categories that you can change to fit your needs, such as a weapons menu, or a vehicle menu. I have not included scripts, but those aren't hard to find/make.

You can easily add a script by adding something like this into one of the subcategories, in this case, godmode. The "player addAction" is basically adding a action into the menu the user gets when he scrolls. For example:

Code:
player addAction ["Godmode",{player allowDamage false;hint "Godmode ON";}];
You can also easily add a subcategory by adding something like this:

Code:
player addAction ["TROLL",{[]spawn menu4;}];
	menu4 =  {
		removeAllActions player;
		player addAction["test1",{hint "test1";}];
		player addAction["test2",{hint "test2";}];
		player addAction["test3",{hint "test3";}];
		player addAction["BACK",{[]spawn menu0;}];

};
I myself am still fairly new to scripting, so i'm sure to an experienced scripter, this code looks like garbage. I hope this helped you start to script, and if anyone needs help, just post below.

FULL TEMPLATE
Code:
hint "PHONY'S MENU LOADED";
[]spawn menu0;
menu0 = {
removeAllActions player;
player addAction ["MISCELLANEOUS",{[]spawn menu1;}];
				menu1 =  {
					removeAllActions player;
					player addAction["test1",{hint "test1";}];
					player addAction["test2",{hint "test2";}];
					player addAction["test3",{hint "test3";}];
					player addAction["BACK",{[]spawn menu0;}];
};
player addAction ["WEAPONS",{[]spawn menu2;}];
				menu2 =  {
					removeAllActions player;
					player addAction["test1",{hint "test1";}];
					player addAction["test2",{hint "test2";}];
					player addAction["test3",{hint "test3";}];
					player addAction["BACK",{[]spawn menu0;}];

};
player addAction ["VEHICLES",{[]spawn menu3;}];
				menu3 =  {
					removeAllActions player;
					player addAction["test1",{hint "test1";}];
					player addAction["test2",{hint "test2";}];
					player addAction["test3",{hint "test3";}];
					player addAction["BACK",{[]spawn menu0;}];

};
player addAction ["TROLL",{[]spawn menu4;}];
				menu4 =  {
					removeAllActions player;
					player addAction["test1",{hint "test1";}];
					player addAction["test2",{hint "test2";}];
					player addAction["test3",{hint "test3";}];
					player addAction["BACK",{[]spawn menu0;}];

};
};
YOU NEED AN INJECTOR/EXECUTOR TO USE THIS

To avoid detection, change variables... for example, change menu0 into something completely random, like soup25, because servers can run known variable checks!

Credits:
Not sure who needs credits, let me know below.
someone show me how to install please I dont know where put the .sqf
Quote Originally Posted by Carlos8246 View Post
someone show me how to install please I dont know where put the .sqf
..................its to make a script.. its not a premade one comon man... if you dont know what you're doing dont do it and find another game to hack on.
Quote Originally Posted by ynohp View Post
There are already a few examples of this, but I just wanted to extend on this.

So what is a Scroll Menu? Its the simplest for of menu in Arma that is activated by scrolling. This is my first menu i've created for Arma 3. When I started scripting in Arma 3, it was hard to find a working scroll template that was simple enough for my needs, but was a little more advanced than Lystic's template, and a little less advanced than JME's, so I created this.
Good release, even tho 90% of users on mpgh cant even use it... But oh well, still nice tut
Thanks for this mate.
h0w to 1nject pl0x ,i d0nt f1nd a g00d skr1pt execut0r
What script Executor should i use and also could anyone give me a example of the code i need to use because i tried execVM "Folder\Script.sqf"; but it didnt work Pls Help
This helped me alot
Great job mate
personally i like the layout of this better

Code:
main = {
removeallactions player;
player addAction ["gear", gar];
player addAction ["firearms", farms];
};

gar = {
//code to spawn gear or more addactions
};

farms = {
player addAction ["MX", mxr];
player addAction ["Zafire", zfire];
};

mxr = {
player addWeapon "mx weapon class name here";
};

zfire = {
player addWeapon "zafire weapon class name";
};
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us