Home   Help Search Login Register  

Author Topic: AI activate radio  (Read 837 times)

0 Members and 1 Guest are viewing this topic.

Specnaz

  • Guest
AI activate radio
« on: 19 Jan 2003, 15:09:25 »
what to write on WP field when AI reach it to activate radio Alpha?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:AI activate radio
« Reply #1 on: 19 Jan 2003, 19:10:57 »
 :-\ I don't think you can activate the radio commands, so just make a normal trigger and change its condition line to

radiob

and then in the waypoints activation line put

radiob = true

O Neil

  • Guest
Re:AI activate radio
« Reply #2 on: 20 Jan 2003, 03:51:07 »
Soz, but I gota Q.

I was playin a mission once apon a time, and the radio came on and said somethings, I swear it sounded like a radio speech in the campaign.
I might be  :joystick: or it might not be true, but is there any way to use already recoreded voices ?

O Neil

PS: If that makes sense

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:AI activate radio
« Reply #3 on: 20 Jan 2003, 06:04:39 »
As usually in radio-call triggers the condition: this
is used, which tells the trigger to be activated by THIS
and THIS = what you predefined above (e.g: radio-alpha),

you just need to enhance the condition field with one more
condition: this AND whatever_you_want_here

For example: AI's waypoint's onActivation field: gogo = true

radio call trigger's condition: field: this AND gogo

Now the radio call can be triggered manually by you, or by
the AI unit reaching the waypoint.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:AI activate radio
« Reply #4 on: 20 Jan 2003, 11:32:50 »
I'm sorry if I misunderstood you Chris Death but actually if you put

this and gogo

into a radio trigger it will be activaded only when the condition gogo is true AND you make the radio call (0-0-whaever).

To activate the radio trigger by AI or you making the call you put

this OR gogo


+ if you would like to use this and gogo then you would also want to hide the radio call option untill gogo is true. Why? Because if gogo is not true then the player can pust his 0-0-1 a hundred times thinking 'why the heck can't I make the call. it's visible in my radio list but it just won't do anything'.

I don't have the command reference on this cpu but I recall hiding a radio trigger calls for

a) naming the trigger
b) using command    triggername setradiomessage 0
    preferably in init.sqs and when stating the gogo to true
    also setting     triggername setradiomessage 1
    (the command might also be setradiomsg or something like that)

 :-*


O'Neil I don't know about your question.. maybe if you depbo some or the BIS missions or campaings you will find their recordings if that's what you ment.
If you want to use your own recordings that surely is possible by recording it and then converting the wav to ogg and setting a class for it in the descrition.ext
Not all is lost.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:AI activate radio
« Reply #5 on: 20 Jan 2003, 11:37:15 »
oops - off course you're right Artak   :-[

OR is the correct one to create a 2 case condition.

These mistakes happen, if you're already thinking about
summit else than you're talking actually  ;D

~S~ CD

Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Specnaz

  • Guest
Re:AI activate radio
« Reply #6 on: 20 Jan 2003, 16:58:22 »
OKOKOKOK; I think I'm little lost here, ok in misson i made tne next thing, make radio Alpha on which when activated group of SpecNaz get into Mi-18 and go to another island and eject there. On this island is one Russian soldier which need to call radioAlpha to this action happen. so i want to make him move little around and than etc. after 5 minutes (in one waypoint) put "i ask you what" to activate radio Alpha? thx

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:AI activate radio
« Reply #7 on: 20 Jan 2003, 17:10:20 »
okokokok since your dealing with strigtly AI here you don't need the trigger to be a Radio trigger.

If you for some reason want it to be a radio trigger then put in that wp's on activation field you mentioned

NAZgogo=true

then add to the radio trigger's condition field this line

this OR NAZgogo

btw you might want to get some great tutorials from the Editors Depot. Some of them can explain these things to you even better than I can  ;)

click here to get your hands on those tuts
http://www.ofpec.com/editors/browse.php?browsewhat=0&category=0_1
« Last Edit: 20 Jan 2003, 17:12:58 by Artak »
Not all is lost.