Jump to content
Sign in to follow this  
scheintot2

CfgRadio?

Recommended Posts

Hey guys!

Currently I'm working on a sound mod for Arma 3.

I'm trying to add a sound to the LittleBird, if you fly to fast to low via _vehicleRadio.

The script is ready and the config.cpp is correctly starting the script.

Problem:

The script is working btw, already tried it in Testmission... But when he normaly should start the sound he comes with a errormessage..

"Radio Message TSound not found".

In the config.Cpp its like this:

class CfgRadio {

class TSound {

name = "";

sound[] = {"Ah6\T_Low", 1, 1};

title = "";

};

};

A little part of script:

then {_vehicle vehicleRadio "TSound"; sleep 2;};

I already tried it with CfgSounds... but it doesn't work either.

But without a Inherit class in both cases... maybe the problem? And if yes, can you give me an example?

I'm more new than old with configs and scripting. ;)

Thx

Scheintot

EDIT!!!!!!!!

I have found the error...

For all who wanna know it:

I didn't close the CfgVehicle Block and open another CfgRadio Block, I just defined the CfgRadio inside of the CfgVehicle Block.. that was my mistake. Sry for my english. ;)

You can close the thread, sry!

Edited by Scheintot2

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
Sign in to follow this  

×