OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dammage on 04 Nov 2005, 08:31:13
-
may i know if there is a function to check that a sidechat/direct speaking is executed ? like it will return something when a sidechat/direct speaking is execute
-
Welcome to the forum!
-
Indeed welcome. I am afraid I don't fully understand the question. Are you talking about the voice communications between players during multi-player or the command sidechat in single player?
In single player:
unitname sidechat "This what I want to say"
will result in:
This what I want to say
appearing in the bottom left of the screen
I somehow think this does not answer your question.
-
i think he is after a variable that he can check to see if anyone has written anything in side/group/vehicle chat etc
AFAIK, this aint possible
-
I will second that. ;) :P
-
Maybe...well I havent done it...but think of this...
If U send the text through a dialog,
lbAdd [idc, text] ....._index = lbAdd [101, "global,group,side or vehiclechat text"]
and then check the color with
lbColor [idc, _index]
Depending the result U can then decide what chat was used.
The standard colors of global-group-side-vehicle chat can be found in the config I guess..
Maybe U can use a dialog who is already defined in Resource.bin...
Donno,will do some testing.