Jump to content

CTLD Remove JTAC message


Peter33

Recommended Posts

Hello everyone, 

I was wondering if there is a way to remove JTAC messages in the CTLD script.
"JTAC lasing new target BTR-80. Code 1688 etc" and "JTAC Target BTR-80 KIA. Good job! etc"
I'm not familiar with scripts so, if someone could give me a hint that would be great!

Thanks!

Link to comment
Share on other sites

12 hours ago, Peter33 said:

...
I was wondering if there is a way to remove JTAC messages in the CTLD script....

 

you can edit CTLD.lua with "Notepad++", search for this function :

 

function ctld.notifyCoalition(_message, _displayFor, _side)
	trigger.action.outTextForCoalition(_side, _message, _displayFor)
    trigger.action.outSoundForCoalition(_side, "radiobeep.ogg")
end

 

and turn it into : (an empty function)

 

function ctld.notifyCoalition(_message, _displayFor, _side)
    --trigger.action.outTextForCoalition(_side, _message, _displayFor)
    --trigger.action.outSoundForCoalition(_side, "radiobeep.ogg")
end

 

That will prevent all and any CTLD messages to appear.

Or you can modify (put two "minus" signs) each call of this function inside each function related to JTAC (ex : --ctld.notifyCoalition(_message, 10, _side) ) to only prevent JTAC messages to appear.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...