|
@@ -0,0 +1,104 @@
|
|
|
+
|
|
|
+ _this setvariable ["Unit","swop_LAAT",true];
|
|
|
+ _this setvariable ["height",1,true];
|
|
|
+
|
|
|
+ _this setvariable ["launchPad",pad_middle,true];
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ _this addAction ["<t color='#FF0000'>DO NOT USE IF YOU ARE NOT A PILOT</t>",
|
|
|
+{
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#00FF00'>Laat MK1</t>",
|
|
|
+{
|
|
|
+ (_this select 0) setvariable ["Unit","swop_LAAT",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#00FF00'>Laat MK2</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAATmk2",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#F4A460 '>Laat MK2 74th</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAATmk2_74",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#0000FF'>Laat MK2 104th</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAATmk2_104",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#FF0000'>Laat MK2 Spec Op</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAATmk2_spec",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#00f9ff'>Laat MK2 ARC</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAATmk2_ARC",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+_this addAction ["<t color='#0000FF'>Laat Cargo</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_LAAT_cargo",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+_this addAction ["<t color='#FF0000'>ARC-170</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_arc_t",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["<t color='#FFFF00'>Y-Wing</t>",
|
|
|
+{
|
|
|
+(_this select 0) setvariable["Unit","swop_ywclones",true];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+_this addAction ["Spawn Vehicle",
|
|
|
+{
|
|
|
+
|
|
|
+ _item=(_this select 0) getVariable "Unit";
|
|
|
+ _Z= (_this select 0) getVariable "height";
|
|
|
+ pad=(_this select 0) getVariable "launchPad";
|
|
|
+ _unit=createVehicle [_item, [(getPos pad select 0), (getPos pad select 1), (getPos pad select 2)+_Z], [], 0,"CAN_COLLIDE"];
|
|
|
+ _unit setDir (getDir pad);
|
|
|
+
|
|
|
+ hint format["pad %1 unit %2",(position pad),(position _unit)];
|
|
|
+
|
|
|
+}
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
+
|