Forum Jump :

Author Message


Posts: 113
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2020-04-29 11:00        
     
Hello.

I have the following in a custom weapon config:

class CfgRecoils
{
  class recoil_myGun
  {
    muzzleOuter[]={0.5,2.5,0.6,0.5};
    kickBack[]={0.06,0.08};
    permanent=0.2;
    temporary=0.02;
  };
};
The first time I fire I get an error stating that recoil_myGun is not an array. After closing the error I can fire and the recoil seems to be happening.

Thoughts?

-Doc

This post was edited by doc. caliban (2020-04-30 08:58, 215 days ago)