Jump to content
Sign in to follow this  
--LKK.Burnix--

Musicaction for player

Recommended Posts

Hi there,

I´ve made my musicaddon for my campaign.

Now i wanna make an addon, where is an config.cpp with this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches

{

class ca_music_random

{

units[] = {};

weapons[] = { };

worlds[] = { };

requiredVersion = 1.30;

};

};

class UserActions {

class ca_music_random

{

displayName="( PLAY RANDOM MUSIC )";

position="";

radius=1.0;

condition="true";

statement="this exec ""ca_music\random.sqs"";";

};

}

Okay, the random music script has I made. Now I wanna know, why my Unit (in Single- Multiplayer) doesn´t become this action.

So, everytime, everywhere!

Anyone understand me?

Share this post


Link to post
Share on other sites

You have only made a useraction but its not attached to any vehicle.Can't just make a useraction like that.

Class useraction is a derivative of cfgvehicles

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  

×