example (not working):
```
with uiNamespace do {
RscObjectDisplay = (findDisplay 46) createDisplay 'RscDisplayEmpty';
_RscObject = RscObjectDisplay ctrlCreate ["RscObject", 1234];
_RscObject ctrlSetPosition [0.5 * safezoneW + safezoneX,0.5* safezoneH + safezoneY,2];
_RscObject ctrlSetModel "a3\armor_f_epb\mbt_03\mbt_03_cannon_f.p3d";
_RscObject ctrlSetModelDirAndUp [[0,1,0],[0,0,1]];
_RscObject ctrlSetModelScale 0.5;
_RscObject ctrlCommit 0;
};
```
hpp (works):
```
#define CT_OBJECT
class coolstuff
{
idd = 1434;
access = 0;
movingEnable = true;
enableSimulation = true;
class Controls
{
};
class Objects
{
class Test
{
idc = 5004;
type = 80;
movingEnable = false; // true to enable moving dialog with mouse
enableZoom = 0;
zoomDuration = 0.001;
inBack = 1;
direction[] = {0.707107,0,0.707107};
up[]={0,1,0};
position[] = {0,0,2.5};
scale=0.12;
model = "a3\armor_f_epb\mbt_03\mbt_03_cannon_f.p3d";
xBack = 0.6;
yBack = 0.45;
zBack = 1.2;
x = 0.5 * safezoneW + safezoneX;
y = 0.5* safezoneH + safezoneY;
z = 2;
};
};
};
```