Jump to content

Recommended Posts

Yes, I have filled the normal 0-0 radio menu with useful admin stuff and now I am searching a way to use the empty 0-9 radio menu (the other option is to know how to make custom menu which is way over my knowledge).
How to create custom radio triggers for this menu? :rock:

Share this post


Link to post
Share on other sites

I don't think you can "create" i.e. "add" new radio triggers, especially without mod.

 

You can delete (deleteVehicle) a radio trigger (the easiest way for emptying it) and even re-create it by script...but...

 

- You could add a condition for modifying the code of your radio trigger, say radio Alpha:
   if (somethingTrue) then {systemChat "cool first action"} else {systemChat "marvelous 2nd action"};

   While in game, if somethingTrue turns to false, the 2nd code applies.

 

- You can even modify the radio trigger statements by setTriggerStatements:
   For example, if your radio Alpha trigger, named trig1, fires a code like:   systemChat "cool first action";

   You can:

    trig1 setTriggerStatements ["this", "systemChat 'marvelous 2nd action' ", ""];

    Note: No need for modifying the trigger activation, as you keep the radio Alpha behavior. You have modified the code running when alpha radio is triggered. Just think about the condition for that.

 

If you need plenty of simultaneous actions, think about addAction  or BIS_fnc_holdActionAdd instead.

 

Note: You could play also with Communication_Menu   in description.ext...🙄

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×