Jump to content
Sign in to follow this  
phronk

Create Immovable 3D Dialog Object

Recommended Posts

I made this for my radio script, Addon-Free Arma Radio:

class AFAR_UI {
idd=-1;
movingEnable=false;

controlsBackground[]={};
objects[]={3DRadio};

class 3DRadio {
 idc=90909;
 type=82;

 model="\A3\Structures_F\Items\Electronics\PortableLongRangeRadio_F.p3d";
 scale=0.7direction[]={0,10,1};
 up[]={0,1,0};
 x=0.405*safezoneW+safezoneX;
 y=0.5*safezoneH+safezoneY;
 z=0.2;
 xBack=0.5;
 yBack=0.5;
 zBack=1.2;
 inBack=0;
 enableZoom=0;
 zoomDuration=0.001;};
};

 

I've tried adding/removing several things to the above code.  I've even tried setting:

movingEnable=false;

movingEnable=0;

moving=false;

moving=0;

 

The 3D radio can still be moved around.  I'm definitely missing a command to disable moving for 3D objects that I'm overlooking, but I've been looking all day on the Google and the BI wiki with no success.

Share this post


Link to post
Share on other sites

ctrlEnable[90909,false]; in the function which creates the dialog fixes it.  Not sure why the hell the base settings movingEnable and moving don't work though, but whatever, thanks BB.

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  

×