25.08.2015, 19:01 | #1 (permalink) |
Registriert seit: 10.10.2006
Beiträge: 263
|
Dialog Object
Servus hat jemand von euch schon erfahren wie man mit den Dialog Objekt Container Arbeiten kann also ich spreche von der Type 82.
Es geht mir um denn Areas Das wiki sagt dahingehend ja gleich 0 Aus. Ich weis das er Aufbau ungefähr so sein sollte. Code:
class pc { idd = 3100; name= "pc"; movingEnabled = false; enableSimulation = true; onUnload = "systemChat str ['onUnload',_this]; false"; onChildDestroyed = "systemChat str ['onChildDestroyed',_this]; false"; class Objects // UI objects { class lap : nok_objekt2 { idc = 3106; color[] = {0.95, 0.95, 0.95, 1}; onObjectMoved = "systemChat format ['%1,%2',((( safezoneX * (-1)) + (ctrlPosition (_this select 0) select 0))/safezoneW),((( safezoneY * (-1)) + (ctrlPosition (_this select 0) select 2))/safezoneH)]"; model = "\A3\Structures_F\Items\Electronics\Laptop_unfolded_F.p3d"; direction[] = {0, -0.35, -0.65}; up[] = {0, 0.65, -0.35}; x = 0.16; //Horizont + ->> | - <<- y = -0.1; // Vertikal +Down |-Up z = 0.6; class Areas // Configurable UI areas. Normally interactive controls (buttons, listboxes, ...) are not interactive here. { class UserTexture { selection = "camo"; // Model selection on which the UI will be rendered class Controls { class back: RscPicture { idc = 5101; text = "textures.paa"; x = 0.01125 * safezoneW + safezoneX; y = 0.551 * safezoneH + safezoneY; w = 0.26 * safezoneW; h = 0.2 * safezoneH; }; }; }; }; }; }; Hat sich damit schon mal wer beschäftigt und kann mir da ne Tip geben? zur vervollständigung. Code:
class nok_objekt2 { type = 82; model = "\A3\Weapons_F\DummyItem.p3d"; scale = 0.25; direction[] = {0,0,1}; up[] = {0,1,0}; xBack = 0.5; yBack = 0.5; zBack = 0.5; inBack = 0; enableZoom = 0; zoomDuration = 0; color[] = {0.95, 0.95, 0.95, 1}; }; class RscPicture { shadow = 0; type = 0; style = 48; sizeEx = 0.023; font = "PuristaMedium"; colorBackground[] = {}; colorText[] = {}; x = 0; y = 0; w = 0.2; h = 0.15; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Probleme mit Arma 3 und Server | TopsToni | Technische Fragen & Probleme | 12 | 05.02.2015 19:23 |
Can't change owner from 0 to 2 Server: Object info X:XXXX not found. | [CCG]Cyborg | Editing & Scripting | 0 | 17.03.2014 01:36 |
Allgemeine Hardware Fragen [Sammelthread] | Mr.NiceGuy | Technische Fragen & Probleme | 469 | 22.11.2012 17:27 |
Multiplayer nicht gängig? | Hunne | Multiplayer | 6 | 04.01.2012 15:13 |
Merkwürdiges Dedi Serverproblem - trotz intensiver Suche nichts gefunden... | Qu!nt | Multiplayer | 5 | 11.10.2011 16:15 |