Home   Help Search Login Register  

Author Topic: Addaction does not work.  (Read 2212 times)

0 Members and 2 Guests are viewing this topic.

Fiendish

  • Guest
Addaction does not work.
« on: 03 Jan 2003, 17:50:04 »
I can't get the addaction to work.
Can you help me out?
An if I will get it to work, will that action be available for all players on the server? :-\

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #1 on: 03 Jan 2003, 17:58:43 »
I forgot to tell you what I want to do.
I want to have the flyinheight command in the radio list.

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Addaction does not work.
« Reply #2 on: 03 Jan 2003, 18:43:38 »
What you want is a radio call, not an action.  That's why addAction isn't working for you.

Radio calls are done with triggers.  In the condition portion, one of the items is a drop-down menu, from which you may select Radio Alpha, Radio Bravo, Radio Charlie, and so on.  Choose one of those.  Put the flyInHeight command in the trigger's On Activation field.

When you test the mission, by making the appropriate radio call, the code will be executed.

As far as I know, only a group leader may make radio calls, so it will not be available to all, unless every player is a group leader.
Ranger

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #3 on: 04 Jan 2003, 01:37:06 »
Now I have another problem.
I can add the thingie in the radiolist but he wont do it. :-\
Can some1 show an example?
I would be grateful.

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #4 on: 08 Jan 2003, 19:53:15 »
Why wont you help me? I need it! Please!  :'(

Crassus

  • Guest
Re:Addaction does not work.
« Reply #5 on: 09 Jan 2003, 03:53:11 »
Fiendish, why don't you post your script/code so that we may correct it if something is wrong. Perhaps you left something important out, or got the syntax/format wrong.... Come on now, help us help you... ::)

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #6 on: 10 Jan 2003, 10:15:10 »
I made a trigger with radio alpha as activation.
I put set flyinheight 0 in the field in the trigger and placed it over the chopper.

I guess this is way wrong  :-[

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Addaction does not work.
« Reply #7 on: 10 Jan 2003, 21:59:45 »
Quote
I put set flyinheight 0 in the field in the trigger and placed it over the chopper

Instead of: set flyinheight 0, you should use:

choppername flyinheight 0

 ;)

And there's no need to place the trigger over the chopper.
The trigger evend doesn't need a size. Just create a trigger:
with a 0/0 range.

Radio calls can also be executed by non-leader units, but
only from the map screen by clicking on the radio there, while
leader units can access them through the 0-0-x menu.

~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

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #8 on: 11 Jan 2003, 13:30:12 »
Thank you. I'll try it right now.

Fiendish

  • Guest
Re:Addaction does not work.
« Reply #9 on: 13 Jan 2003, 17:04:10 »
It worked. Thank you. :)