Home   Help Search Login Register  

Author Topic: Radio Messages  (Read 493 times)

0 Members and 1 Guest are viewing this topic.

HeadlessChicken

  • Guest
Radio Messages
« on: 25 Feb 2003, 23:33:53 »
Hey, everybody!

Just a quick question for you.

I've got some  backup that my lead unit can call by radio code alpha. I want the AI to do it if the player doesn't want to be leader. I just can't find the code to make the guy do the radio code. I'm sure it's really simple, but it would be a real time-saver if someone could help out.  ;D

            Cheers,

                   HeadlessChicken

MorMel

  • Guest
Re:Radio Messages
« Reply #1 on: 26 Feb 2003, 10:56:30 »
My english is bad enough to missunderstand you, but I think you need to create a radio channel:

Place a trigger on your map and set its activation to "Alpha" (radio channel number 1). It means that it will be activated by the player, through the code 0-0-1. Then at the activation field, place the commands you wanna exec, like
 player sideradio "String"
player join ObjNull (if the player wants to leave the team)
etc, etc.

A hope this could help you :)

headshot_snipe

  • Guest
Re:Radio Messages
« Reply #2 on: 28 Feb 2003, 12:22:07 »
i think what headless chicken is trying to do is how to make an AI use the radio, any ideas how to do that?

HeadlessChicken

  • Guest
Re:Radio Messages
« Reply #3 on: 28 Feb 2003, 20:00:36 »
Yeah, that's right - I want the AI player to use the radio. I can make him send a message of my choice, but I want it to activate the "Radio Alpha" trigger.