Home   Help Search Login Register  

Author Topic: MP Sidechat  (Read 1097 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