Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: MP Sidechat  (Read 1806 times)

0 Members and 2 Guests are viewing this topic.

B-2-0

  • Guest
MP Sidechat
« on: 04 Sep 2003, 05:35:55 »
I have 4 groups of playable units.....all groups have names as do all units......i have a trigger that activates sidechat text but i want this trigger to detect which of the groups has activated the trigger and the sidechat to be said by whichever player is the leader of that group at the time.

How would i do this?

Thanx in advance!

B
« Last Edit: 04 Sep 2003, 05:38:24 by B-2-0 »

Lut

  • Guest
Re:MP Sidechat
« Reply #1 on: 05 Sep 2003, 06:07:46 »
attach a script to the trigger

; _caller refers to the person who triggers
_caller = THISLIST 0

;leader of the person who triggers will sidechat
LEADER _caller SIDECHAT "blah"

but i think SIDECHAT is not a public command so in MP, the message will not be displayed for every player. i remember seeing a thread with the solution to this prob though so if you need to you can search this forum for it