Home   Help Search Login Register  

Author Topic: Radio Traffic  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

crushnik

  • Guest
Radio Traffic
« on: 28 Mar 2003, 01:31:37 »
How would you get text to show up on screen during the game, for example after a helicopter has been hit, have a dialog from the pilot, and after a certain amount of time, a response, like

"We've been hit." (pause)
"Brace for impact" (pause)
"Stay down"
for example.
What do you put in, and where does it go?

Offline OFPWiZard

  • Members
  • *
Re:Radio Traffic
« Reply #1 on: 28 Mar 2003, 01:40:06 »
Hello

Look around the site... i found it you should find it too... !!!!! :P

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Radio Traffic
« Reply #2 on: 28 Mar 2003, 08:29:02 »
Ever made scripts? Here's how you do it.

name the guys who are doing the talking
make a new file called text.sqs and open it in notepad.
put in these lines:

unitname sidechat "We've been hit!"
~5
unitname sidechat "Brace for impact!"
~10
unitname groupchat "Stay down."

exit


then go in to the editor and make a trigger which is activated when the chopper is hit. For example
condition: chopper1 getdammage > 0.5
on activation: [] exec "text.sqs"
Not all is lost.

Offline OFPWiZard

  • Members
  • *
Re:Radio Traffic
« Reply #3 on: 28 Mar 2003, 18:45:02 »
Hello

Yes that script does work.

Good Luck!