Home   Help Search Login Register  

Author Topic: unit1 Sidechat "How do I sideChat?";  (Read 2929 times)

0 Members and 1 Guest are viewing this topic.

Offline Luke

  • Members
  • *
  • Thank God! The OFPEC Staff are here!
unit1 Sidechat "How do I sideChat?";
« on: 03 Sep 2008, 06:20:28 »
I am confused as how sidechat works. ==>  ??? (me.)

I have tried using sidechat, but nothing comes up.

The COMREF says it does not broadcast the message.

Yet, I see the sidechat commands on Mando Gun/Missile (plug), which show up fine on my computer.

How does this command work?

Luke
Pesky Human!!
Wort Wort Wort.

Offline D007

  • Members
  • *
Re: unit1 Sidechat "How do I sideChat?";
« Reply #1 on: 03 Sep 2008, 06:38:56 »
Try messing around with this.. I know it works..
keep in mind you may have to enable and disable raido if you choose to use this kind of chat..
I'm not sure exaclty.. been a while since i used this..
It's from an old mission I made.

EnableRadio TRUE

player sideradio "radio2"

[_side,"HQ"] sideChat "Maybe this text might work for you."

enable and disable radio is nice for missions with ai in them.
you can disable the radio for the mission and not have to hear them.
or re enable it in certain scripts just for those scripts.
then disable it again at the end of the script, to keep chatter down from ai's.
always good. :)
unless your using them to spot things.. XD
« Last Edit: 03 Sep 2008, 08:18:53 by D007 »

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: unit1 Sidechat "How do I sideChat?";
« Reply #2 on: 03 Sep 2008, 09:56:06 »
Radio is not the same as chat. They are two different systems, as far as I am aware.

BIS's sideChat command, as well as the other *chat commands, is local to the machine that it is run on. It does not, itself, broadcast the message across the network. Triggers placed in the editor are global, so running a sideChat from a trigger (or in a script run from a trigger) will be seen on everyone's machine. When you use sideChat only on the local machine, such as inside an action handler script (one called by addAction), it will only be seen by the person who activated the action, unless you manually broadcast a request to run the chat command on everyone's client machine.

Read our MP tutorial for more information on these issues.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)