Home   Help Search Login Register  

Author Topic: Radio message triggered  (Read 451 times)

0 Members and 1 Guest are viewing this topic.

SandVoss

  • Guest
Radio message triggered
« on: 03 May 2004, 10:18:17 »
I dont know if something of this topic has been posted before, but I sure cant find it, so ill ask anyway.
 ;D

Is it possible to have a radio message being set of by a trigger? i.e. I want a radio message to be triggered once a riflegroup is present in a certain area. It should not be timed, the radio message should be transmitted by this riflegroup once it enters a certain area, no matter how long it takes them to get there.

Thanks in advance.

Offline SEAL84

  • Members
  • *
  • Always lurking
Re:Radio message triggered
« Reply #1 on: 03 May 2004, 14:30:25 »
Set up the trigger as large as you want it, then hit F2 and group the trigger to the rifle squad - select "whole group" from the pulldown list.

In "on activation," type

Code: [Select]
squadleader sidechat "In position.", where squadleader is the group leader.  Conversely you can put "group1 = group this" in the leader's init field and then substitute group1 for squadleader.  This should have the leader say it no matter who the leader is - useful for those times when the leader could be killed.

That's the simple way - if you have an actual audio message in your \Sound folder, you can use commands like "say" or "sideradio" to make the guy play the appropriate radio message.  The setup for those commands is the same, though you'll need a stringtable.csv file to store the text of the message - sideradio and say only use the title of the sound file in the command.

There are some sound tutes in the editors depot - check em out 8)
« Last Edit: 03 May 2004, 14:32:20 by SEAL84 »

SandVoss

  • Guest
Re:Radio message triggered
« Reply #2 on: 04 May 2004, 15:14:20 »
Thanks! It worked. Thanks for the help.