Jump to content

Recommended Posts

class CfgRadio
{
    sounds[] = {};
    class Chat01
    {
        name = "Chat01";
        title = "This is your text. This text will show in game.";
        sound[] = {"\sounds\Chat01.ogg", db25, 1.0};
        
    };
};

 

to call it put, this to the act field of a trigger:

player groupradio "Chat01";

 

Share this post


Link to post
Share on other sites
  On 9/13/2015 at 6:31 PM, drunken officer said:
class CfgRadio
{
    sounds[] = {};
    class Chat01
    {
        name = "Chat01";
        title = "This is your text. This text will show in game.";
        sound[] = {"\sounds\Chat01.ogg", db25, 1.0};
        
    };
};

to call it put, this to the act field of a trigger:

player groupradio "Chat01";

 

I know how to make the message, i don't know how to make it working with active variables, example:

Init.sqf

execVM {
se = 0;
while {true} do
     ​se = se + 1;
​};
};

dexcription.ext

class CfgRadio
{
    sounds[] = {};
    class rme
    {
        name = "";
        title = str(se);
        sound[] = {};
        
    };
};

Will show me:

str(se)

Share this post


Link to post
Share on other sites

You can't use active variables within the description.ext (unless something has changed that I'm unaware of), simple as that.

Share this post


Link to post
Share on other sites
  On 9/15/2015 at 5:10 PM, jshock said:

You can't use active variables within the description.ext (unless something has changed that I'm unaware of), simple as that.

 

Got it, prety sad, stange how is than "Did you see something" worked in Arma 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

×