Jump to content

Make an icon appear on someone's GUI when they are talking in direct channel.


Recommended Posts

While someone is talking in direct chat, have like a microphone icon appear on the side of their screen while they are holding PTT. This would completely reduce the amount of accidental RDM from people talking in group channel (or another channel) when trying to initiate. They just have to make sure the icon is coming up, and they will know that they are talking in direct chat. It could also be a phone setting to disable this, and/or to change where the icon appears on the screen so it doesn't get in the way of someone's display.

Edited by Trioxide
Link to comment
3 minutes ago, Vortex said:

^ what he said, bottom left, white is direct chat, green is group chat, yellow is vehicle chat, and blue is side chat, it will show that color speaker icon when your talking

 

22 minutes ago, Gen. Henry Arnold said:

Arma already shows you what chat you’re talking in with voice and chat 

People still forget to check and initiate in group chat. Happens a lot, actually. It's not very hard at all to implement either. There's a lot of reason to do it, especially if its an optional phone setting.

Link to comment
waitUntil { !isNull ( findDisplay 46 ) };

( findDisplay 46 ) displayAddEventHandler ["KeyDown", {
	if ( ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) && currentChannel == 5 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

( findDisplay 46 ) displayAddEventHandler ["KeyUp", {
	if ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//hide microphone icon
	};
}];

@Gen. Henry Arnold

Edited by Trioxide
Link to comment
19 minutes ago, Trioxide said:

waitUntil { !isNull ( findDisplay 46 ) };

( findDisplay 46 ) displayAddEventHandler ["KeyDown", {
	if ( ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) && currentChannel == 5 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

( findDisplay 46 ) displayAddEventHandler ["KeyUp", {
	if ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

@Gen. Henry Arnold

Please fucking stop

Just fucking stop bro, please, please, please, please, please, please, please please. Stop

 

It is so fucking heinous

Jewish and Ryan. like this
Link to comment
6 minutes ago, Infamous [FULL SEND] said:

Why does it on key up check to see if the key is down?

 

By the time the script is run, pretty sure inputAction still returns 1. Also the bottom part is supposed to be to hide the microphone icon but I forgot to change it

Edited by Trioxide
Link to comment
1 hour ago, Trioxide said:

waitUntil { !isNull ( findDisplay 46 ) };

( findDisplay 46 ) displayAddEventHandler ["KeyDown", {
	if ( ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) && currentChannel == 5 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

( findDisplay 46 ) displayAddEventHandler ["KeyUp", {
	if ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//hide microphone icon
	};
}];

@Gen. Henry Arnold

// This shit aint bussin
class Trioxide {
    public static void main(String[] args) {
        System.out.println("No, Trioxide!"); 
    }
}
Copa, Huan Lee, Ashton. and 2 others like this
Link to comment
54 minutes ago, .Max said:

oh my i could code better

infamous im going to end it all

hes @'ing devs now

in a suggestion

with code

im going to

end it all 

this is so fucking henious

oh my 

he just sent code to gen henry arnold 

on the forums 

oh my its over

@Mr. Slickwhat u think abt this bub


waitUntil { !isNull ( findDisplay 46 ) };

( findDisplay 46 ) displayAddEventHandler ["KeyDown", {
	if ( ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) && currentChannel == 5 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

( findDisplay 46 ) displayAddEventHandler ["KeyUp", {
	if ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//hide microphone icon
	};
}];

max you are such a faggot jesus christ

Link to comment
16 hours ago, .Max said:

oh my i could code better

infamous im going to end it all

hes @'ing devs now

in a suggestion

with code

im going to

end it all 

this is so fucking henious

oh my 

he just sent code to gen henry arnold 

on the forums 

oh my its over

@Mr. Slickwhat u think abt this bub


waitUntil { !isNull ( findDisplay 46 ) };

( findDisplay 46 ) displayAddEventHandler ["KeyDown", {
	if ( ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) && currentChannel == 5 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//show microphone icon
	};
}];

( findDisplay 46 ) displayAddEventHandler ["KeyUp", {
	if ( ( inputAction "pushToTalk" > 0 or inputAction "voiceOverNet" > 0 ) or ( inputAction "PushToTalkDirect" > 0 ) ) then {
		//hide microphone icon
	};
}];

Hey man I’m just pursuing my dreams of being a coder developer of The Gaming Asylum!

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...