Jump to content
Sign in to follow this  
Rayers12

Add communications items that activate triggers

Recommended Posts

Add communications items that activate triggers, as in 0-1-?. How would that be done?

Share this post


Link to post
Share on other sites

create a trigger set it to repeat and put condition

local player

then in onactivation field put

_psettings = [] execvm "playersettings.sqf";

create new text file and rename it playersettings.sqf. in that file put the following

BIS_MENU_GroupCommunication = [
["User menu", false],
["View distance 2000", [2], "", -5, [["expression", "setviewdistance 2000; hint (""View distance set to "" + str viewdistance)"]], "1", "1"],
["View distance 3000", [3], "", -5, [["expression", "setviewdistance 3000; hint (""View distance set to "" + str viewdistance)"]], "1", "1"],
["View distance 4000", [4], "", -5, [["expression", "setviewdistance 4000; hint (""View distance set to "" + str viewdistance)"]], "1", "1"],
["View distance 5000", [5], "", -5, [["expression", "setviewdistance 5000; hint (""View distance set to "" + str viewdistance)"]], "1", "1"],
["View distance 6000", [6], "", -5, [["expression", "setviewdistance 6000; hint (""View distance set to "" + str viewdistance)"]], "1", "1"]
];

now you access that by pressing 0-8 then the number option. Mess with that

Share this post


Link to post
Share on other sites
Add communications items that activate triggers, as in 0-1-?. How would that be done?

You mean radio triggered? Just set your trigger to any of the RADIO (ALPHA, BRAVO...). When pressing 0-0 you get the radio option up. Then what to radio is up to you.

Share this post


Link to post
Share on other sites

Can someone elaborate on what exactly all the array elements in BIS_MENU_GroupCommunication do?

Some are quite obvious but the rest :confused:

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  

×