Home   Help Search Login Register  

Author Topic: Death Msg  (Read 417 times)

0 Members and 1 Guest are viewing this topic.

Cool Z

  • Guest
Death Msg
« on: 22 Jul 2004, 07:45:05 »
I'm making group chat messages in my mission for when certain guys die. I have most of it sorted out, but I want the current group leader to be the guy who says the message rather than the preset leader (in case he dies). I'm using this line to do it, but I'm not sure it'll work, and I'm too tired to test (It's after 7 AM here, and I haven't went to sleep yet):

Code: [Select]
(leader Charlie) groupchat "Death message here."

I had a quick look through my comref, but couldn't find anything.

Thx in advance for the help.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Death Msg
« Reply #1 on: 22 Jul 2004, 09:42:51 »
First you'll name the group by putting something like  wgrp1 = group this  in the group leader's init field. Now you can call the leader of that group with
(leader wgrp1) groupchat "I'm the leader. Respect ma authorita m'kay."
Not all is lost.

Cool Z

  • Guest
Re:Death Msg
« Reply #2 on: 22 Jul 2004, 15:34:45 »
So I got it right then? Charlie is what I called the group. So whoever is the group leader at the time of the message should say it. Thanks m8!

One more thing:
Your avatar really scares me. I have nightmares about it.  :'(
« Last Edit: 22 Jul 2004, 20:17:22 by Cool Z »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Death Msg
« Reply #3 on: 22 Jul 2004, 17:00:48 »
Yes, you got it right  :)
Not all is lost.